Uses of Class
io.agentscope.extensions.mongodb.sandbox.MongoSandboxExecutionGuard.Builder
Packages that use MongoSandboxExecutionGuard.Builder
-
Uses of MongoSandboxExecutionGuard.Builder in io.agentscope.extensions.mongodb.sandbox
Methods in io.agentscope.extensions.mongodb.sandbox that return MongoSandboxExecutionGuard.BuilderModifier and TypeMethodDescriptionMongoSandboxExecutionGuard.builder(com.mongodb.client.MongoClient mongoClient) Creates a new builder.MongoSandboxExecutionGuard.Builder.collectionName(String collectionName) MongoSandboxExecutionGuard.Builder.databaseName(String databaseName) Sets the lifetime of the lock document (expiresAt) written on acquisition.MongoSandboxExecutionGuard.Builder.lockTimeout(Duration timeout) Sets the maximum time to wait for acquiring the lock beforeMongoSandboxExecutionGuard.tryEnter(io.agentscope.harness.agent.sandbox.SandboxIsolationKey)throwsInterruptedException.Sets a human-readable owner label for diagnostics.MongoSandboxExecutionGuard.Builder.retryInterval(Duration interval) Sets the polling interval between lock acquisition attempts.