Class Striped.WeakSafeReadWriteLock
java.lang.Object
com.google.common.util.concurrent.Striped.WeakSafeReadWriteLock
- All Implemented Interfaces:
ReadWriteLock
ReadWriteLock implementation whose read and write locks retain a reference back to this lock.
Otherwise, a reference to just the read lock or just the write lock would not suffice to ensure
the
ReadWriteLock
is retained.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
delegate
-
-
Constructor Details
-
WeakSafeReadWriteLock
WeakSafeReadWriteLock()
-
-
Method Details
-
readLock
- Specified by:
readLock
in interfaceReadWriteLock
-
writeLock
- Specified by:
writeLock
in interfaceReadWriteLock
-