Package com.espertech.esperio.csv
Interface SendableEvent
- All Known Implementing Classes:
AbstractSendableEvent
,SendableBeanEvent
,SendableMapEvent
public interface SendableEvent
A wrapper that packages an event up so that it can be
sent into the caller-specified runtime. It also provides
the scheduling information for this event (send time and
schedule slot), so the user can send this event on schedule.
-
Method Summary
Modifier and TypeMethodDescriptionlong
Get the schedule slot for the entity that created this eventlong
Get the send time of this event, relative to all the other events sent or read by the same entityvoid
send
(AbstractSender sender) Send the event into the runtime.
-
Method Details
-
send
Send the event into the runtime.- Parameters:
sender
- - the sender to send an event
-
getSendTime
long getSendTime()Get the send time of this event, relative to all the other events sent or read by the same entity- Returns:
- timestamp
-
getScheduleSlot
long getScheduleSlot()Get the schedule slot for the entity that created this event- Returns:
- schedule slot
-