com.espertech.esper.view.window
Interface RelativeAccessByEventNIndex

All Known Implementing Classes:
IStreamRelativeAccess, PriorEventBufferMulti, PriorEventBufferSingle, PriorEventViewFactory.RelativeAccessImpl

public interface RelativeAccessByEventNIndex

Provides access to prior events given an event from which to count back, and an index to look at.


Method Summary
 EventBean getRelativeToEvent(EventBean event, int index)
          Returns the prior event to the given event counting back the number of events as supplied by index.
 

Method Detail

getRelativeToEvent

EventBean getRelativeToEvent(EventBean event,
                             int index)
Returns the prior event to the given event counting back the number of events as supplied by index.

Parameters:
event - is the event to count back from
index - is the number of events to go back
Returns:
event

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com