org.objectweb.medor.eval.prefetch.lib
Class PrefetchBufferImpl

java.lang.Object
  |
  +--org.objectweb.medor.eval.prefetch.lib.PrefetchBufferImpl
All Implemented Interfaces:
PrefetchBuffer

public class PrefetchBufferImpl
extends java.lang.Object
implements PrefetchBuffer

Author:
P. Dechamboux

Method Summary
 void addPrefetchTuple()
          Adds to this cache a prefetched tuple that is the one which currently traversed within the associated tuple collection.
 void setTupleCollection(TupleCollection tc)
          Asscoiates a tuple collection to this PrefetchBuffer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addPrefetchTuple

public void addPrefetchTuple()
                      throws MedorException
Description copied from interface: PrefetchBuffer
Adds to this cache a prefetched tuple that is the one which currently traversed within the associated tuple collection.

Specified by:
addPrefetchTuple in interface PrefetchBuffer
MedorException

setTupleCollection

public void setTupleCollection(TupleCollection tc)
                        throws MedorException
Description copied from interface: PrefetchBuffer
Asscoiates a tuple collection to this PrefetchBuffer. It should contain the tuples that will be registered with the prefetch structure.

Specified by:
setTupleCollection in interface PrefetchBuffer
Parameters:
tc - The associated tuple collection.
MedorException