Class LRUCacheCheapRead.CacheEntryImpl<K,V>
java.lang.Object
org.glassfish.hk2.utilities.cache.internal.LRUCacheCheapRead.CacheEntryImpl<K,V>
- All Implemented Interfaces:
CacheEntry
- Enclosing class:
LRUCacheCheapRead<K,
V>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhit()
void
Call this method on this entry to remove it from the LRUCache.
-
Field Details
-
key
-
value
-
parent
-
lastHit
long lastHit
-
-
Constructor Details
-
CacheEntryImpl
-
-
Method Details
-
removeFromCache
public void removeFromCache()Description copied from interface:CacheEntry
Call this method on this entry to remove it from the LRUCache. If this entry has already been removed this method will do nothing.- Specified by:
removeFromCache
in interfaceCacheEntry
-
hit
-