Uses of Class
cloud.opencode.base.lock.distributed.DistributedLockConfig.Builder
Packages that use DistributedLockConfig.Builder
Package
Description
Lock Package - Unified Lock Abstraction (JDK 25)
Lock包 - 统一锁抽象 (JDK 25)
Distributed Lock Package - Distributed lock interfaces
分布式锁包 - 分布式锁接口
-
Uses of DistributedLockConfig.Builder in cloud.opencode.base.lock
Methods in cloud.opencode.base.lock that return DistributedLockConfig.BuilderModifier and TypeMethodDescriptionOpenLock.distributedConfigBuilder()Creates a distributed lock configuration builder 创建分布式锁配置构建器 -
Uses of DistributedLockConfig.Builder in cloud.opencode.base.lock.distributed
Methods in cloud.opencode.base.lock.distributed that return DistributedLockConfig.BuilderModifier and TypeMethodDescriptionDistributedLockConfig.Builder.autoRenew(boolean autoRenew) Sets whether to enable automatic lock renewal 设置是否启用自动锁续期DistributedLockConfig.builder()Creates a new configuration builder 创建新的配置构建器DistributedLockConfig.Builder.enableFencing(boolean enable) Sets whether to enable fencing token for safe resource access 设置是否启用防护令牌以安全访问资源Sets the lease time (TTL) for the lock 设置锁的租约时间(TTL)DistributedLockConfig.Builder.lockTimeout(Duration timeout) Sets the timeout for lock acquisition 设置锁获取超时DistributedLockConfig.Builder.renewInterval(Duration interval) Sets the interval for automatic lock renewal 设置自动锁续期的间隔DistributedLockConfig.Builder.retryCount(int count) Sets the number of retry attempts on failure 设置失败时的重试次数DistributedLockConfig.Builder.retryInterval(Duration interval) Sets the interval between retry attempts 设置重试尝试之间的间隔