Interface RelativeAccessByEventNIndex

All Known Implementing Classes:
IStreamRelativeAccess, PriorEventBufferMulti, PriorEventBufferSingle, PriorEventViewRelAccess

public interface RelativeAccessByEventNIndex
Provides access to prior events given an event from which to count back, and an index to look at.
  • Field Details

  • Method Details

    • getRelativeToEvent

      EventBean getRelativeToEvent(EventBean theEvent, int index)
      Returns the prior event to the given event counting back the number of events as supplied by index.
      Parameters:
      theEvent - is the event to count back from
      index - is the number of events to go back
      Returns:
      event
    • getRelativeToEnd

      EventBean getRelativeToEnd(int index)
    • getWindowToEvent

      Iterator<EventBean> getWindowToEvent()
    • getWindowToEventCollReadOnly

      Collection<EventBean> getWindowToEventCollReadOnly()
    • getWindowToEventCount

      int getWindowToEventCount()