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

    Modifier and Type
    Method
    Description
    get(long sequence)
     
  • Method Details

    • get

      T get(long sequence)
      Parameters:
      sequence - The sequence at which to find the data
      Returns:
      the data item located at that sequence