simtools.data.buffer
Interface BufferProvider


public interface BufferProvider

A buffer provider is the target of buffer policies. It must provide new unbuffered values when requested by the buffer policy. Those policies should implement a strategy in order to minimize calls to the BufferProvider getUnbuffered method. A simple strategy is proposed with the AgeBufferPolicy, where the oldest entry is removed to make space for a new entry when the buffer is full.

Version:
1.0 2001
Author:
Nicolas Brodu

Method Summary
 double getUnbuffered(long index)
           
 

Method Detail

getUnbuffered

double getUnbuffered(long index)
                     throws DataException
Throws:
DataException