Uses of Interface
java.util.concurrent.locks.ReadWriteLock
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.
|
-
Uses of ReadWriteLock in java.util.concurrent.locks
Classes in java.util.concurrent.locks that implement ReadWriteLock Modifier and Type Class Description class
ReentrantReadWriteLock
An implementation ofReadWriteLock
supporting similar semantics toReentrantLock
.Methods in java.util.concurrent.locks that return ReadWriteLock Modifier and Type Method Description ReadWriteLock
StampedLock. asReadWriteLock()
Returns aReadWriteLock
view of this StampedLock in which thereadLock()
method is mapped toStampedLock.asReadLock()
, andwriteLock()
toStampedLock.asWriteLock()
.