Uses of Interface
java.util.concurrent.locks.ReadWriteLock
Package
Description
Interfaces and classes providing a framework for locking and waiting
for conditions that is distinct from built-in synchronization and
monitors.
-
Uses of ReadWriteLock in java.util.concurrent.locks
Modifier and TypeClassDescriptionclass
An implementation ofReadWriteLock
supporting similar semantics toReentrantLock
.Modifier and TypeMethodDescriptionStampedLock.asReadWriteLock()
Returns aReadWriteLock
view of this StampedLock in which thereadLock()
method is mapped toStampedLock.asReadLock()
, andwriteLock()
toStampedLock.asWriteLock()
.