Uses of Interface
cloud.opencode.base.lock.Lock
Packages that use Lock
Package
Description
Lock Package - Unified Lock Abstraction (JDK 25)
Lock包 - 统一锁抽象 (JDK 25)
Distributed Lock Package - Distributed lock interfaces
分布式锁包 - 分布式锁接口
Local Lock Package - Local lock implementations
本地锁包 - 本地锁实现
Lock Manager Package - Lock management utilities
锁管理包 - 锁管理工具
-
Uses of Lock in cloud.opencode.base.lock
Methods in cloud.opencode.base.lock that return LockModifier and TypeMethodDescriptionOpenLock.fairLock()Creates a fair lock that grants access in FIFO order 创建按FIFO顺序授予访问权限的公平锁LockGuard.lock()Returns the value of thelockrecord component.OpenLock.lock()Creates a local reentrant lock with default configuration 使用默认配置创建本地可重入锁OpenLock.lock(LockConfig config) Creates a local lock with specified configuration 使用指定配置创建本地锁ReadWriteLock.readLock()Gets the read lock for concurrent read access 获取用于并发读取访问的读锁OpenLock.spinLock()Creates a spin lock for very short critical sections 为极短临界区创建自旋锁OpenLock.spinLock(int maxSpinCount) Creates a spin lock with custom max spin count 使用自定义最大自旋次数创建自旋锁ReadWriteLock.writeLock()Gets the write lock for exclusive write access 获取用于独占写入访问的写锁Constructors in cloud.opencode.base.lock with parameters of type Lock -
Uses of Lock in cloud.opencode.base.lock.distributed
Subinterfaces of Lock in cloud.opencode.base.lock.distributedModifier and TypeInterfaceDescriptioninterfaceDistributed Lock Interface with TTL and Extension Support 支持TTL和延长的分布式锁接口 -
Uses of Lock in cloud.opencode.base.lock.local
Classes in cloud.opencode.base.lock.local that implement LockModifier and TypeClassDescriptionclassLocal Lock Implementation Based on JDK ReentrantLock 基于JDK ReentrantLock的本地锁实现classSpin Lock Implementation for Short Critical Sections 短临界区自旋锁实现Methods in cloud.opencode.base.lock.local that return Lock -
Uses of Lock in cloud.opencode.base.lock.manager
Methods in cloud.opencode.base.lock.manager that return LockModifier and TypeMethodDescriptionLockManager.getLocalLock(String name) Gets or creates a local lock by name 按名称获取或创建本地锁Gets a lock for the given name 获取给定名称的锁Methods in cloud.opencode.base.lock.manager with parameters of type LockModifier and TypeMethodDescriptionAdds a lock to the group 添加锁到组Method parameters in cloud.opencode.base.lock.manager with type arguments of type LockModifier and TypeMethodDescriptionLockGroup.Builder.addAll(Collection<? extends Lock<?>> locks) Adds multiple locks to the group 添加多个锁到组