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 classReentrantReadWriteLockAn implementation ofReadWriteLocksupporting similar semantics toReentrantLock.Methods in java.util.concurrent.locks that return ReadWriteLock Modifier and Type Method Description ReadWriteLockStampedLock. asReadWriteLock()Returns aReadWriteLockview of this StampedLock in which thereadLock()method is mapped toStampedLock.asReadLock(), andwriteLock()toStampedLock.asWriteLock().