org.das2.dataset
Class SimpleDataSetCache
java.lang.Object
org.das2.dataset.AbstractDataSetCache
org.das2.dataset.SimpleDataSetCache
- All Implemented Interfaces:
- DataSetCache
public class SimpleDataSetCache
- extends AbstractDataSetCache
simply cache data by storing one per DataSetDescriptor.
Field Summary |
protected java.util.Map |
buffer
|
Constructor Summary |
SimpleDataSetCache()
Creates a new instance of StandardDataStreamCache |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
buffer
protected java.util.Map buffer
SimpleDataSetCache
public SimpleDataSetCache()
- 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
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object