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

Field Summary
static String REVISION
           
 
Method Summary
 Object element(Object id)
          Obtains a cache element given the id of that element.
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values
Method Detail

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.