org.das2.dataset
Class NullDataSetCache
java.lang.Object
org.das2.dataset.NullDataSetCache
- All Implemented Interfaces:
- DataSetCache
public class NullDataSetCache
- extends java.lang.Object
- implements DataSetCache
DataSetCache that does no caching at all. This is useful for batch
mode or when dataset caching is undesirable.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullDataSetCache
public NullDataSetCache()
store
public void store(DataSetDescriptor dsd,
CacheTag cacheTag,
DataSet data)
- Specified by:
store
in interface DataSetCache
haveStored
public boolean haveStored(DataSetDescriptor dsd,
CacheTag cacheTag)
- Specified by:
haveStored
in interface DataSetCache
retrieve
public DataSet retrieve(DataSetDescriptor dsd,
CacheTag cacheTag)
- Specified by:
retrieve
in interface DataSetCache
reset
public void reset()
- Specified by:
reset
in interface DataSetCache