Class JdbcSandboxExecutionGuard.Builder
java.lang.Object
io.agentscope.extensions.jdbc.sandbox.JdbcSandboxExecutionGuard.Builder
- Enclosing class:
- JdbcSandboxExecutionGuard
Builder for
JdbcSandboxExecutionGuard.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theJdbcSandboxExecutionGuard.Sets a custom key prefix for the lock name.lockTimeout(Duration timeout) Sets the lock timeout duration.
-
Method Details
-
keyPrefix
Sets a custom key prefix for the lock name. -
lockTimeout
Sets the lock timeout duration. -
build
Builds theJdbcSandboxExecutionGuard.
-