org.gjt.rec.cache
Interface CacheElementSource
- public interface CacheElementSource
The interface implemented by objects that provide cache elements to a cache.
- Author:
- Neil Stockbridge
- See Also:
Cache
REVISION
public static final String REVISION
- See Also:
- Constant Field Values
element
public Object element(Object id)
- Obtains a cache element given the id of that element.
- Parameters:
id
- an id that uniquely identifies the element required by the
cache.
- Returns:
- the element identified by the supplied id. this method should
never return null.