Uses of Package
java.util.concurrent.locks
-
Packages that use java.util.concurrent.locks Package Description java.util.concurrent.locks Interfaces and classes providing a framework for locking and waiting for conditions that is distinct from built-in synchronization and monitors. -
Classes in java.util.concurrent.locks used by java.util.concurrent.locks Class Description AbstractOwnableSynchronizer A synchronizer that may be exclusively owned by a thread.AbstractQueuedLongSynchronizer.ConditionObject Condition implementation for aAbstractQueuedLongSynchronizer
serving as the basis of aLock
implementation.AbstractQueuedSynchronizer.ConditionObject Condition implementation for aAbstractQueuedSynchronizer
serving as the basis of aLock
implementation.Condition Lock Lock
implementations provide more extensive locking operations than can be obtained usingsynchronized
methods and statements.ReadWriteLock AReadWriteLock
maintains a pair of associatedlocks
, one for read-only operations and one for writing.ReentrantReadWriteLock An implementation ofReadWriteLock
supporting similar semantics toReentrantLock
.ReentrantReadWriteLock.ReadLock The lock returned by methodReentrantReadWriteLock.readLock()
.ReentrantReadWriteLock.WriteLock The lock returned by methodReentrantReadWriteLock.writeLock()
.