com.timeindexing.cache
Class DefaultDataCache

java.lang.Object
  extended bycom.timeindexing.cache.DefaultDataCache
All Implemented Interfaces:
DataCache

public class DefaultDataCache
extends java.lang.Object
implements DataCache

The default implementation of a cache which holds the actual data objects.


Constructor Summary
DefaultDataCache()
           
 
Method Summary
 int addData(DataAbstraction data)
          Hold a Data Object.
 boolean close()
          Close this data cache.
 boolean flush()
          Flush this data cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDataCache

public DefaultDataCache()
Method Detail

addData

public int addData(DataAbstraction data)
Hold a Data Object.

Specified by:
addData in interface DataCache

flush

public boolean flush()
Flush this data cache.

Specified by:
flush in interface DataCache

close

public boolean close()
Close this data cache.

Specified by:
close in interface DataCache