Package io.agentscope.extensions.mongodb
Class MongoConstants
java.lang.Object
io.agentscope.extensions.mongodb.MongoConstants
Default database and collection names for MongoDB distributed store components.
Centralised here so that all four component classes reference the same source of truth, preventing drift when the same collection name is referenced from multiple construction paths.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringCollection holding workspace filesystem key-value items (MongoBaseStore).static final StringDefault database name used when no explicit name is supplied.static final StringCollection holding sandbox execution lease locks (MongoSandboxExecutionGuard).static final StringCollection holding agent session state documents (MongoAgentStateStore).static final StringGridFS bucket (and legacy single-document collection) holding sandbox snapshots (MongoRemoteSnapshotClient). -
Method Summary
-
Field Details
-
DEFAULT_DATABASE
Default database name used when no explicit name is supplied.- See Also:
-
SESSIONS_COLLECTION
Collection holding agent session state documents (MongoAgentStateStore).- See Also:
-
BASE_STORE_COLLECTION
Collection holding workspace filesystem key-value items (MongoBaseStore).- See Also:
-
SNAPSHOTS_COLLECTION
GridFS bucket (and legacy single-document collection) holding sandbox snapshots (MongoRemoteSnapshotClient).- See Also:
-
SANDBOX_LOCKS_COLLECTION
Collection holding sandbox execution lease locks (MongoSandboxExecutionGuard).- See Also:
-