org.objectweb.medor.eval.prefetch.lib
Class DummyPrefetchBuffer
java.lang.Object
org.objectweb.medor.eval.prefetch.lib.DummyPrefetchBuffer
- All Implemented Interfaces:
- PrefetchBuffer
- public class DummyPrefetchBuffer
- extends java.lang.Object
- implements PrefetchBuffer
This class represents dummy PrefetchBuffers in the case the transactional
context is null.
- Author:
- A. Lefebvre
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyPrefetchBuffer
public DummyPrefetchBuffer()
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
- Throws:
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.
- Throws:
MedorException
close
public void close()
throws MedorException
- Specified by:
close
in interface PrefetchBuffer
- Throws:
MedorException
isClosed
public boolean isClosed()
- Specified by:
isClosed
in interface PrefetchBuffer
getTuple
public Tuple getTuple(java.lang.Object index)
throws MedorException
- Specified by:
getTuple
in interface PrefetchBuffer
- Throws:
MedorException