com.timeindexing.cache
Interface DataCache

All Known Implementing Classes:
DefaultDataCache

public interface DataCache

The data objects referenced by the index. The data may or may not be in core. It is up to the implementations to decide if a data object will be kept in core.


Method Summary
 int addData(DataAbstraction data)
          Hold a Data Object.
 boolean close()
          Close this data cache.
 boolean flush()
          Flush this data cache.
 

Method Detail

addData

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


flush

public boolean flush()
Flush this data cache.


close

public boolean close()
Close this data cache.