-
- Type Parameters:
T
- The type provided by the implementation
- All Known Subinterfaces:
EventSequencer<T>
- All Known Implementing Classes:
RingBuffer
public interface DataProvider<T>
Typically used to decouple classes fromRingBuffer
to allow easier testing
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
get(long sequence)
-
-
-
Method Detail
-
get
T get(long sequence)
- Parameters:
sequence
- The sequence at which to find the data- Returns:
- the data item located at that sequence
-
-