- All Implemented Interfaces:
- java.util.concurrent.locks.ReadWriteLock
- Enclosing class:
- StaticCache
static class StaticCache.LockEntry
extends java.lang.Object
implements java.util.concurrent.locks.ReadWriteLock
Keeps track of a locked cached entry. The 'key' is the same key
instance that was used to create the entry in the first place.
It is important that all active maintainers of a lock also
keeps a strong reference to the key since the lock entry may
otherwise be reclaimed by the garbage collector.