org.xwiki.cache
Interface CacheEntry<T>

Type Parameters:
T - the class of the data stored in the cache.
All Known Implementing Classes:
InfinispanCacheEntry, OSCacheCacheEntry

public interface CacheEntry<T>

Represents a cache entry with it's key, value, etc.


Method Summary
 Cache<T> getCache()
           
 String getKey()
           
 T getValue()
           
 

Method Detail

getCache

Cache<T> getCache()
Returns:
the cache where this entry is stored.

getKey

String getKey()
Returns:
the associated key used to access the value in the cache.

getValue

T getValue()
Returns:
the value of this cache entry.