Class ControlPlaneBaseStore
java.lang.Object
io.agentscope.extensions.aistio.store.ControlPlaneBaseStore
- All Implemented Interfaces:
io.agentscope.harness.agent.filesystem.remote.store.BaseStore
public final class ControlPlaneBaseStore
extends Object
implements io.agentscope.harness.agent.filesystem.remote.store.BaseStore
Control-plane hosted
BaseStore over /api/v1/dp/kv/*.
HTTP failures and unexpected status codes throw RuntimeException — never silently
return empty results (except get(java.util.List<java.lang.String>, java.lang.String) which maps 404 to null).
-
Method Summary
Modifier and TypeMethodDescriptionvoidio.agentscope.harness.agent.filesystem.remote.store.StoreItemvoidbooleanList<io.agentscope.harness.agent.filesystem.remote.store.StoreItem>
-
Method Details
-
get
public io.agentscope.harness.agent.filesystem.remote.store.StoreItem get(List<String> ns, String key) - Specified by:
getin interfaceio.agentscope.harness.agent.filesystem.remote.store.BaseStore
-
put
- Specified by:
putin interfaceio.agentscope.harness.agent.filesystem.remote.store.BaseStore
-
putIfVersion
public boolean putIfVersion(List<String> ns, String key, Map<String, Object> value, long expectedVersion) - Specified by:
putIfVersionin interfaceio.agentscope.harness.agent.filesystem.remote.store.BaseStore
-
search
public List<io.agentscope.harness.agent.filesystem.remote.store.StoreItem> search(List<String> ns, int limit, int offset) - Specified by:
searchin interfaceio.agentscope.harness.agent.filesystem.remote.store.BaseStore
-
delete
- Specified by:
deletein interfaceio.agentscope.harness.agent.filesystem.remote.store.BaseStore
-