public class LimitCountDataSetCache extends AbstractDataSetCache
AbstractDataSetCache.Entry| Modifier and Type | Field and Description |
|---|---|
protected AbstractDataSetCache.Entry[] |
buffer |
hits, misses| Constructor and Description |
|---|
LimitCountDataSetCache(int count)
Creates a new instance of StandardDataStreamCache
|
| Modifier and Type | Method and Description |
|---|---|
double |
calcHitRate() |
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, setResetCacheprotected AbstractDataSetCache.Entry[] buffer
public LimitCountDataSetCache(int count)
public void store(DataSetDescriptor dsd, CacheTag cacheTag, DataSet data)
store in interface DataSetCachestore in class AbstractDataSetCachepublic boolean haveStoredImpl(DataSetDescriptor dsd, CacheTag cacheTag)
public DataSet retrieveImpl(DataSetDescriptor dsd, CacheTag cacheTag)
public void reset()
AbstractDataSetCachereset in interface DataSetCachereset in class AbstractDataSetCachepublic double calcHitRate()
public java.lang.String toString()
toString in class java.lang.Object