Uses of Class
com.google.genkit.plugins.mongodb.session.MongoSessionStoreOptions.Builder
Packages that use MongoSessionStoreOptions.Builder
Package
Description
MongoDB-backed agent session persistence.
-
Uses of MongoSessionStoreOptions.Builder in com.google.genkit.plugins.mongodb.session
Methods in com.google.genkit.plugins.mongodb.session that return MongoSessionStoreOptions.BuilderModifier and TypeMethodDescriptionMongoSessionStoreOptions.builder()Creates a new builder.MongoSessionStoreOptions.Builder.checkpointInterval(int checkpointInterval) Sets the number of turns between full checkpoints.MongoSessionStoreOptions.Builder.collectionName(String collectionName) Sets the MongoDB collection name.MongoSessionStoreOptions.Builder.databaseName(String databaseName) Sets the MongoDB database name.MongoSessionStoreOptions.Builder.pollIntervalMs(long pollIntervalMs) Sets the subscription poll interval in milliseconds.MongoSessionStoreOptions.Builder.shardSize(int shardSize) Sets the shard size in bytes for checkpoint state (must stay under the 16 MB document cap).MongoSessionStoreOptions.Builder.snapshotPathPrefix(Function<SessionStoreOptions, String> snapshotPathPrefix) Sets the function that derives the per-tenant prefix.