public class SimpleDataSetCache extends AbstractDataSetCache
AbstractDataSetCache.Entry
Modifier and Type | Field and Description |
---|---|
protected java.util.Map |
buffer |
hits, misses
Constructor and Description |
---|
SimpleDataSetCache()
Creates a new instance of StandardDataStreamCache
|
Modifier and Type | Method and Description |
---|---|
boolean |
haveStoredImpl(DataSetDescriptor dsd,
CacheTag cacheTag) |
void |
reset()
reset the internal state of the cache
|
DataSet |
retrieveImpl(DataSetDescriptor dsd,
CacheTag cacheTag) |
void |
store(DataSetDescriptor dsd,
CacheTag cacheTag,
DataSet data) |
java.lang.String |
toString() |
cacheValue, coalese, haveStored, isResetCache, retrieve, setResetCache
public SimpleDataSetCache()
public void store(DataSetDescriptor dsd, CacheTag cacheTag, DataSet data)
store
in interface DataSetCache
store
in class AbstractDataSetCache
public boolean haveStoredImpl(DataSetDescriptor dsd, CacheTag cacheTag)
public DataSet retrieveImpl(DataSetDescriptor dsd, CacheTag cacheTag)
public void reset()
AbstractDataSetCache
reset
in interface DataSetCache
reset
in class AbstractDataSetCache
public java.lang.String toString()
toString
in class java.lang.Object