Top Description Methods
org.glassfish.hk2.utilities.cache

public Interface HybridCacheEntry<V>

extends CacheEntry
Known Direct Implementers
org.glassfish.hk2.utilities.cache.LRUHybridCache.HybridCacheEntryImpl

Represents a single hybrid cache entry. The entry can avoid being cached, see dropMe() for details.
Author
Jakub Podlesak (jakub.podlesak at oracle.com)

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the entry should not be cached.
dropMe
()

Tell the cache if this entry should be dropped as opposed to being kept in the cache.

public V

Returns:

Internal value.
getValue
()

Getter for this cache entry internal value.

Inherited from org.glassfish.hk2.utilities.cache.CacheEntry:
removeFromCache

Method Detail

dropMeback to summary
public boolean dropMe()

Tell the cache if this entry should be dropped as opposed to being kept in the cache.

Returns:boolean

true if the entry should not be cached.

getValueback to summary
public V getValue()

Getter for this cache entry internal value.

Returns:V

Internal value.