Interface HybridCacheEntry<V>
- All Superinterfaces:
CacheEntry
- All Known Implementing Classes:
LRUHybridCache.HybridCacheEntryImpl
Represents a single hybrid cache entry.
The entry can avoid being cached, see
dropMe()
for details.-
Method Summary
Methods inherited from interface org.glassfish.hk2.utilities.cache.CacheEntry
removeFromCache
-
Method Details
-
getValue
V getValue()Getter for this cache entry internal value.- Returns:
- Internal value.
-
dropMe
boolean dropMe()Tell the cache if this entry should be dropped as opposed to being kept in the cache.- Returns:
- true if the entry should not be cached.
-