Uses of Class
com.google.genkit.plugins.azurefoundry.session.CosmosSessionStoreOptions.Builder
Packages that use CosmosSessionStoreOptions.Builder
Package
Description
Azure Cosmos DB-backed agent session persistence.
-
Uses of CosmosSessionStoreOptions.Builder in com.google.genkit.plugins.azurefoundry.session
Methods in com.google.genkit.plugins.azurefoundry.session that return CosmosSessionStoreOptions.BuilderModifier and TypeMethodDescriptionCosmosSessionStoreOptions.builder()Creates a new builder.CosmosSessionStoreOptions.Builder.checkpointInterval(int checkpointInterval) Sets the number of turns between full checkpoints.CosmosSessionStoreOptions.Builder.containerName(String containerName) Sets the Cosmos DB container name.CosmosSessionStoreOptions.Builder.createIfNotExists(boolean createIfNotExists) Sets whether to create the database and container on first use if they do not exist.CosmosSessionStoreOptions.Builder.databaseName(String databaseName) Sets the Cosmos DB database name.CosmosSessionStoreOptions.Builder.pollIntervalMs(long pollIntervalMs) Sets the subscription poll interval in milliseconds.CosmosSessionStoreOptions.Builder.shardSize(int shardSize) Sets the shard size in bytes for checkpoint state (must stay under the 2 MB document cap).CosmosSessionStoreOptions.Builder.snapshotPathPrefix(Function<SessionStoreOptions, String> snapshotPathPrefix) Sets the function that derives the per-tenant partition-key prefix.