Uses of Class
cloud.opencode.base.lock.LockConfig.Builder
Packages that use LockConfig.Builder
Package
Description
Lock Package - Unified Lock Abstraction (JDK 25)
Lock包 - 统一锁抽象 (JDK 25)
-
Uses of LockConfig.Builder in cloud.opencode.base.lock
Methods in cloud.opencode.base.lock that return LockConfig.BuilderModifier and TypeMethodDescriptionstatic LockConfig.BuilderLockConfig.builder()Creates a new configuration builder 创建新的配置构建器static LockConfig.BuilderOpenLock.configBuilder()Creates a lock configuration builder 创建锁配置构建器LockConfig.Builder.enableMetrics(boolean enable) Sets whether metrics collection is enabled 设置是否启用指标收集LockConfig.Builder.fair(boolean fair) Sets whether the lock should be fair 设置锁是否应该是公平的Sets the lock type 设置锁类型LockConfig.Builder.reentrant(boolean reentrant) Sets whether the lock should be reentrant 设置锁是否应该是可重入的LockConfig.Builder.spinCount(int spinCount) Sets the maximum spin count for spin locks 设置自旋锁的最大自旋次数Sets the default timeout for lock acquisition 设置锁获取的默认超时