org.objectweb.medor.eval.prefetch.lib

Class DummyPrefetchBuffer

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

Method Summary

void
addPrefetchTuple()
void
close()
Tuple
getTuple(Object index)
boolean
isClosed()
void
setTupleCollection(TupleCollection tc)

Method Details

addPrefetchTuple

public void addPrefetchTuple()
            throws MedorException
Specified by:
addPrefetchTuple in interface PrefetchBuffer


close

public void close()
            throws MedorException
Specified by:
close in interface PrefetchBuffer


getTuple

public Tuple getTuple(Object index)
            throws MedorException
Specified by:
getTuple in interface PrefetchBuffer


isClosed

public boolean isClosed()
Specified by:
isClosed in interface PrefetchBuffer


setTupleCollection

public void setTupleCollection(TupleCollection tc)
            throws MedorException
Specified by:
setTupleCollection in interface PrefetchBuffer