org.das2.dataset
Class LimitCountDataSetCache
java.lang.Object
org.das2.dataset.AbstractDataSetCache
org.das2.dataset.LimitCountDataSetCache
- All Implemented Interfaces:
- DataSetCache
public class LimitCountDataSetCache
- extends AbstractDataSetCache
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
buffer
protected AbstractDataSetCache.Entry[] buffer
LimitCountDataSetCache
public LimitCountDataSetCache(int count)
- Creates a new instance of StandardDataStreamCache
store
public void store(DataSetDescriptor dsd,
CacheTag cacheTag,
DataSet data)
- Specified by:
store
in interface DataSetCache
- Specified by:
store
in class AbstractDataSetCache
haveStoredImpl
public boolean haveStoredImpl(DataSetDescriptor dsd,
CacheTag cacheTag)
retrieveImpl
public DataSet retrieveImpl(DataSetDescriptor dsd,
CacheTag cacheTag)
reset
public void reset()
- Description copied from class:
AbstractDataSetCache
- reset the internal state of the cache
- Specified by:
reset
in interface DataSetCache
- Specified by:
reset
in class AbstractDataSetCache
calcHitRate
public double calcHitRate()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object