Package com.lmax.disruptor
Interface DataProvider<T>
- 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 from
RingBuffer to allow easier testing-
Method Summary
-
Method Details
-
get
- Parameters:
sequence- The sequence at which to find the data- Returns:
- the data item located at that sequence
-