|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esperio.AbstractSendableEvent
public abstract class AbstractSendableEvent
Base class for sendable event, provides timestamp and schedule slot.
Constructor Summary | |
---|---|
AbstractSendableEvent(long timestamp,
com.espertech.esper.schedule.ScheduleSlot scheduleSlot)
Ctor. |
Method Summary | |
---|---|
com.espertech.esper.schedule.ScheduleSlot |
getScheduleSlot()
Get the schedule slot for the entity that created this event |
long |
getSendTime()
Get the send time of this event, relative to all the other events sent or read by the same entity |
abstract void |
send(AbstractSender sender)
Send the event into the runtime. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractSendableEvent(long timestamp, com.espertech.esper.schedule.ScheduleSlot scheduleSlot)
timestamp
- to sendscheduleSlot
- the schedule slot assigned by scheduling serviceMethod Detail |
---|
public abstract void send(AbstractSender sender)
SendableEvent
send
in interface SendableEvent
sender
- - the sender to send an eventpublic com.espertech.esper.schedule.ScheduleSlot getScheduleSlot()
SendableEvent
getScheduleSlot
in interface SendableEvent
public long getSendTime()
SendableEvent
getSendTime
in interface SendableEvent
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |