net.esper.client.time
Class CurrentTimeEvent
java.lang.Object
net.esper.client.time.TimerEvent
net.esper.client.time.CurrentTimeEvent
public final class CurrentTimeEvent
- extends TimerEvent
Event for externally controlling the time within an EPRuntime
instance.
External clocking must be enabled via TimerControlEvent
before this class can be used
to externally feed time.
CurrentTimeEvent
public CurrentTimeEvent(long timeInMillis)
- Constructor.
- Parameters:
timeInMillis
- is the time in milliseconds
toString
public String toString()
- Overrides:
toString
in class Object
getTimeInMillis
public long getTimeInMillis()
- Returns the time in milliseconds.
- Returns:
- time in milliseconds