Package com.oracle.coherence.concurrent.locks
Interfaces and classes providing a framework for locking and waiting for conditions that is distinct from built-in synchronization and monitors.
- Since:
- 21.12
-
Class Summary Class Description LockOwner The identity of a lock owner, represented by the UID of the member, and the ID of a thread holding or attempting to acquire the lock.Locks Factory methods for various local and remote lock implementations.RemoteLock A reentrant mutual exclusion distributedLock
with the same basic behavior and semantics as the implicit monitor lock accessed usingsynchronized
methods and statements, and theReentrantLock
class, but with support for access synchronization across multiple cluster members.RemoteReadWriteLock An implementation ofReadWriteLock
supporting similar semantics toReentrantReadWriteLock
, but with support for access synchronization across multiple cluster members.RemoteReadWriteLock.ReadLock The lock returned by methodRemoteReadWriteLock.readLock()
.RemoteReadWriteLock.WriteLock The lock returned by methodRemoteReadWriteLock.writeLock()
.