org.xwiki.cache
Interface CacheEntry<T>

Type Parameters:
T - the class of the data stored in the cache.

public interface CacheEntry<T>

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

Version:
$Id: 32164bb81d9fda54612800c062ddd83210978988 $

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.


Copyright © 2004–2013 XWiki. All rights reserved.