public final class CurrentTimeEvent extends TimerEvent
EPRuntime
or EPRuntimeIsolated
instance.
External clocking must be enabled via TimerControlEvent
before this class can be used
to externally feed time.Constructor and Description |
---|
CurrentTimeEvent(long time)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getTime()
Returns the time in milliseconds.
|
void |
setTime(long time)
Sets the time in milliseconds.
|
String |
toString() |