Class Striped.WeakSafeReadWriteLock

java.lang.Object
com.google.common.util.concurrent.Striped.WeakSafeReadWriteLock
All Implemented Interfaces:
ReadWriteLock
Enclosing class:
Striped<L>

private static final class Striped.WeakSafeReadWriteLock extends Object implements 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.