org.objectweb.medor.eval.prefetch.api
Interface PrefetchBuffer
- DummyPrefetchBuffer, PrefetchBufferImpl
public interface PrefetchBuffer
Registers the prefetched tuples within an indexed buffer for further access
through the tuple identifier used for indexing. This registering occurs while
tuple collection they belong to is traversed by the application.
- P. Dechamboux
addPrefetchTuple
public void addPrefetchTuple()
throws MedorException
Adds to this cache a prefetched tuple that is the one which currently
traversed within the associated tuple collection.
isClosed
public boolean isClosed()
setTupleCollection
public void setTupleCollection(TupleCollection tc)
throws MedorException
Asscoiates a tuple collection to this PrefetchBuffer. It should contain
the tuples that will be registered with the prefetch structure.
tc
- The associated tuple collection.