org.das2.dataset
Class NullDataSetCache

java.lang.Object
  extended by 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.


Constructor Summary
NullDataSetCache()
           
 
Method Summary
 boolean haveStored(DataSetDescriptor dsd, CacheTag cacheTag)
           
 void reset()
           
 DataSet retrieve(DataSetDescriptor dsd, CacheTag cacheTag)
           
 void store(DataSetDescriptor dsd, CacheTag cacheTag, DataSet data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullDataSetCache

public NullDataSetCache()
Method Detail

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