Interface HybridCacheEntry<V>
-
- All Superinterfaces:
CacheEntry
public interface HybridCacheEntry<V> extends CacheEntry
Represents a single hybrid cache entry. The entry can avoid being cached, seedropMe()
for details.- Author:
- Jakub Podlesak (jakub.podlesak at oracle.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
dropMe()
Tell the cache if this entry should be dropped as opposed to being kept in the cache.V
getValue()
Getter for this cache entry internal value.-
Methods inherited from interface org.glassfish.hk2.utilities.cache.CacheEntry
removeFromCache
-
-
-
-
Method Detail
-
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.
-
-