Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- agentStateStore() - Method in class io.agentscope.extensions.mysql.MysqlDistributedStore
-
Deprecated.
B
- baseStore() - Method in class io.agentscope.extensions.mysql.MysqlDistributedStore
-
Deprecated.
- build() - Method in class io.agentscope.extensions.mysql.sandbox.JdbcSandboxExecutionGuard.Builder
- build() - Method in class io.agentscope.extensions.mysql.store.JdbcStore.Builder
-
Builds the
JdbcStore. - builder(DataSource) - Static method in class io.agentscope.extensions.mysql.sandbox.JdbcSandboxExecutionGuard
- builder(DataSource) - Static method in class io.agentscope.extensions.mysql.store.JdbcStore
-
Creates a builder for
JdbcStore.
C
- clearAllSessions() - Method in class io.agentscope.extensions.mysql.state.MysqlAgentStateStore
-
Deprecated.
- close() - Method in class io.agentscope.extensions.mysql.state.MysqlAgentStateStore
-
Close the session and release any resources.
- create(DataSource) - Static method in class io.agentscope.extensions.mysql.MysqlDistributedStore
-
Deprecated.Creates a MySQL distributed store.
D
- DEFAULT_TABLE_NAME - Static variable in class io.agentscope.extensions.mysql.store.JdbcStore
-
Default table name used when the builder is not customised.
- delete(String, String) - Method in class io.agentscope.extensions.mysql.state.MysqlAgentStateStore
- delete(List<String>, String) - Method in class io.agentscope.extensions.mysql.store.JdbcStore
- dialect(JdbcStoreDialect) - Method in class io.agentscope.extensions.mysql.store.JdbcStore.Builder
-
Sets the dialect explicitly.
- download(String) - Method in class io.agentscope.extensions.mysql.snapshot.JdbcRemoteSnapshotClient
E
- exists(String) - Method in class io.agentscope.extensions.mysql.snapshot.JdbcRemoteSnapshotClient
- exists(String, String) - Method in class io.agentscope.extensions.mysql.state.MysqlAgentStateStore
F
- from(DataSource) - Static method in interface io.agentscope.extensions.mysql.store.JdbcStoreDialect
-
Detects the dialect from the
DataSource's database product name.
G
- get(String, String, String, Class<T>) - Method in class io.agentscope.extensions.mysql.state.MysqlAgentStateStore
- get(List<String>, String) - Method in class io.agentscope.extensions.mysql.store.JdbcStore
- getCasUpdateSql() - Method in class io.agentscope.extensions.mysql.store.H2JdbcStoreDialect
- getCasUpdateSql() - Method in interface io.agentscope.extensions.mysql.store.JdbcStoreDialect
-
Returns the SQL to conditionally update an item only when the stored version matches.
- getCasUpdateSql() - Method in class io.agentscope.extensions.mysql.store.MysqlJdbcStoreDialect
- getCasUpdateSql() - Method in class io.agentscope.extensions.mysql.store.PostgresJdbcStoreDialect
- getCasUpdateSql() - Method in class io.agentscope.extensions.mysql.store.SqliteJdbcStoreDialect
- getCreateTableSql() - Method in class io.agentscope.extensions.mysql.store.H2JdbcStoreDialect
- getCreateTableSql() - Method in interface io.agentscope.extensions.mysql.store.JdbcStoreDialect
-
Returns the SQL to create the store table if it does not yet exist.
- getCreateTableSql() - Method in class io.agentscope.extensions.mysql.store.MysqlJdbcStoreDialect
- getCreateTableSql() - Method in class io.agentscope.extensions.mysql.store.PostgresJdbcStoreDialect
- getCreateTableSql() - Method in class io.agentscope.extensions.mysql.store.SqliteJdbcStoreDialect
- getDatabaseName() - Method in class io.agentscope.extensions.mysql.state.MysqlAgentStateStore
-
Get the database name used for storing sessions.
- getDataSource() - Method in class io.agentscope.extensions.mysql.state.MysqlAgentStateStore
-
Get the DataSource used for database connections.
- getDeleteSql() - Method in interface io.agentscope.extensions.mysql.store.JdbcStoreDialect
-
Returns the SQL to delete a single item.
- getInsertSql() - Method in class io.agentscope.extensions.mysql.store.H2JdbcStoreDialect
- getInsertSql() - Method in interface io.agentscope.extensions.mysql.store.JdbcStoreDialect
-
Returns the SQL to insert a new row with
version=1. - getInsertSql() - Method in class io.agentscope.extensions.mysql.store.MysqlJdbcStoreDialect
- getInsertSql() - Method in class io.agentscope.extensions.mysql.store.PostgresJdbcStoreDialect
- getInsertSql() - Method in class io.agentscope.extensions.mysql.store.SqliteJdbcStoreDialect
- getLikeEscapeChar() - Method in interface io.agentscope.extensions.mysql.store.JdbcStoreDialect
-
The escape character paired with
JdbcStoreDialect.getSearchSql()'sESCAPEclause. - getList(String, String, String, Class<T>) - Method in class io.agentscope.extensions.mysql.state.MysqlAgentStateStore
- getSearchSql() - Method in interface io.agentscope.extensions.mysql.store.JdbcStoreDialect
-
Returns the SQL to list items whose namespace_path matches a
LIKEpattern. - getSelectSql() - Method in interface io.agentscope.extensions.mysql.store.JdbcStoreDialect
-
Returns the SQL to fetch a single item.
- getTableName() - Method in class io.agentscope.extensions.mysql.state.MysqlAgentStateStore
-
Get the table name used for storing sessions.
- getUpsertSql() - Method in class io.agentscope.extensions.mysql.store.H2JdbcStoreDialect
- getUpsertSql() - Method in interface io.agentscope.extensions.mysql.store.JdbcStoreDialect
-
Returns the SQL to insert-or-update an item, incrementing
versionon update. - getUpsertSql() - Method in class io.agentscope.extensions.mysql.store.MysqlJdbcStoreDialect
- getUpsertSql() - Method in class io.agentscope.extensions.mysql.store.PostgresJdbcStoreDialect
- getUpsertSql() - Method in class io.agentscope.extensions.mysql.store.SqliteJdbcStoreDialect
- getVersioned(String, String, String, Class<T>) - Method in class io.agentscope.extensions.mysql.state.MysqlAgentStateStore
H
- H2JdbcStoreDialect - Class in io.agentscope.extensions.mysql.store
-
H2 dialect for
JdbcStore. - H2JdbcStoreDialect() - Constructor for class io.agentscope.extensions.mysql.store.H2JdbcStoreDialect
I
- initializeSchema(boolean) - Method in class io.agentscope.extensions.mysql.store.JdbcStore.Builder
-
When
true, runs the dialect'sCREATE TABLE IF NOT EXISTSduring construction. - io.agentscope.extensions.mysql - package io.agentscope.extensions.mysql
- io.agentscope.extensions.mysql.sandbox - package io.agentscope.extensions.mysql.sandbox
- io.agentscope.extensions.mysql.snapshot - package io.agentscope.extensions.mysql.snapshot
- io.agentscope.extensions.mysql.state - package io.agentscope.extensions.mysql.state
- io.agentscope.extensions.mysql.store - package io.agentscope.extensions.mysql.store
J
- JdbcRemoteSnapshotClient - Class in io.agentscope.extensions.mysql.snapshot
-
RemoteSnapshotClientbacked by a JDBC BLOB column. - JdbcRemoteSnapshotClient(DataSource, boolean) - Constructor for class io.agentscope.extensions.mysql.snapshot.JdbcRemoteSnapshotClient
- JdbcRemoteSnapshotClient(DataSource, String, boolean) - Constructor for class io.agentscope.extensions.mysql.snapshot.JdbcRemoteSnapshotClient
- JdbcSandboxExecutionGuard - Class in io.agentscope.extensions.mysql.sandbox
-
JDBC-backed
SandboxExecutionGuardusing MySQLGET_LOCK()/RELEASE_LOCK(). - JdbcSandboxExecutionGuard.Builder - Class in io.agentscope.extensions.mysql.sandbox
- JdbcSnapshotSpec - Class in io.agentscope.extensions.mysql.snapshot
-
Convenience
SandboxSnapshotSpecfor JDBC-backed snapshot storage. - JdbcSnapshotSpec(DataSource) - Constructor for class io.agentscope.extensions.mysql.snapshot.JdbcSnapshotSpec
- JdbcSnapshotSpec(DataSource, String) - Constructor for class io.agentscope.extensions.mysql.snapshot.JdbcSnapshotSpec
- JdbcStore - Class in io.agentscope.extensions.mysql.store
-
JDBC-backed
BaseStore. - JdbcStore.Builder - Class in io.agentscope.extensions.mysql.store
-
Builder for
JdbcStore. - JdbcStoreDialect - Interface in io.agentscope.extensions.mysql.store
-
Database-specific SQL for
JdbcStore.
K
- keyPrefix(String) - Method in class io.agentscope.extensions.mysql.sandbox.JdbcSandboxExecutionGuard.Builder
L
- listSessionIds(String) - Method in class io.agentscope.extensions.mysql.state.MysqlAgentStateStore
- lockTimeout(Duration) - Method in class io.agentscope.extensions.mysql.sandbox.JdbcSandboxExecutionGuard.Builder
- LOG - Static variable in interface io.agentscope.extensions.mysql.store.JdbcStoreDialect
M
- MysqlAgentStateStore - Class in io.agentscope.extensions.mysql.state
-
MySQL database-based session implementation.
- MysqlAgentStateStore(DataSource) - Constructor for class io.agentscope.extensions.mysql.state.MysqlAgentStateStore
-
Create a MysqlAgentStateStore with default settings.
- MysqlAgentStateStore(DataSource, boolean) - Constructor for class io.agentscope.extensions.mysql.state.MysqlAgentStateStore
-
Create a MysqlAgentStateStore with optional auto-creation of database and table.
- MysqlAgentStateStore(DataSource, String, String, boolean) - Constructor for class io.agentscope.extensions.mysql.state.MysqlAgentStateStore
-
Create a MysqlAgentStateStore with custom database name, table name, and optional auto-creation.
- MysqlDistributedStore - Class in io.agentscope.extensions.mysql
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
io.agentscope.extensions.jdbc.JdbcDistributedStorefrom theagentscope-extensions-jdbcmodule instead. The new module provides a unified multi-database dialect abstraction that supports MySQL, PostgreSQL, H2, and SQLite with a single aggregated interface. This class is preserved unchanged for backward compatibility and will be removed in a future major release. - MysqlJdbcStoreDialect - Class in io.agentscope.extensions.mysql.store
-
MySQL / MariaDB dialect for
JdbcStore. - MysqlJdbcStoreDialect() - Constructor for class io.agentscope.extensions.mysql.store.MysqlJdbcStoreDialect
O
- objectMapper(ObjectMapper) - Method in class io.agentscope.extensions.mysql.store.JdbcStore.Builder
-
Sets a custom Jackson
ObjectMapperfor value serialisation.
P
- PostgresJdbcStoreDialect - Class in io.agentscope.extensions.mysql.store
-
PostgreSQL dialect for
JdbcStore. - PostgresJdbcStoreDialect() - Constructor for class io.agentscope.extensions.mysql.store.PostgresJdbcStoreDialect
- put(List<String>, String, Map<String, Object>) - Method in class io.agentscope.extensions.mysql.store.JdbcStore
- putIfVersion(List<String>, String, Map<String, Object>, long) - Method in class io.agentscope.extensions.mysql.store.JdbcStore
S
- sandboxExecutionGuard() - Method in class io.agentscope.extensions.mysql.MysqlDistributedStore
-
Deprecated.
- sandboxSnapshotSpec() - Method in class io.agentscope.extensions.mysql.MysqlDistributedStore
-
Deprecated.
- save(String, String, String, State) - Method in class io.agentscope.extensions.mysql.state.MysqlAgentStateStore
- save(String, String, String, List<? extends State>) - Method in class io.agentscope.extensions.mysql.state.MysqlAgentStateStore
-
Save a list of state values with hash-based change detection.
- saveIfVersion(String, String, String, State, long) - Method in class io.agentscope.extensions.mysql.state.MysqlAgentStateStore
- search(List<String>, int, int) - Method in class io.agentscope.extensions.mysql.store.JdbcStore
- SqliteJdbcStoreDialect - Class in io.agentscope.extensions.mysql.store
-
SQLite dialect for
JdbcStore. - SqliteJdbcStoreDialect() - Constructor for class io.agentscope.extensions.mysql.store.SqliteJdbcStoreDialect
- supportsVersioning() - Method in class io.agentscope.extensions.mysql.state.MysqlAgentStateStore
T
- tableName(String) - Method in class io.agentscope.extensions.mysql.store.JdbcStore.Builder
-
Overrides the table name.
- truncateAllSessions() - Method in class io.agentscope.extensions.mysql.state.MysqlAgentStateStore
-
Truncate session table from the database (for testing or cleanup).
- tryEnter(SandboxIsolationKey) - Method in class io.agentscope.extensions.mysql.sandbox.JdbcSandboxExecutionGuard
U
- upload(String, InputStream) - Method in class io.agentscope.extensions.mysql.snapshot.JdbcRemoteSnapshotClient
V
- validateSessionId(String) - Method in class io.agentscope.extensions.mysql.state.MysqlAgentStateStore
-
Validate a session ID format.
All Classes and Interfaces|All Packages|Constant Field Values
MysqlAgentStateStore.truncateAllSessions()instead