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 and 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()
.
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.