|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.time.TimerEvent
com.espertech.esper.client.time.CurrentTimeEvent
public final class CurrentTimeEvent
Event for externally controlling the time within an EPRuntime
or EPRuntimeIsolated
instance.
External clocking must be enabled via TimerControlEvent
before this class can be used
to externally feed time.
Constructor Summary | |
---|---|
CurrentTimeEvent(long timeInMillis)
Constructor. |
Method Summary | |
---|---|
long |
getTimeInMillis()
Returns the time in milliseconds. |
void |
setTimeInMillis(long timeInMillis)
Sets the time in milliseconds. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CurrentTimeEvent(long timeInMillis)
timeInMillis
- is the time in millisecondsMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public long getTimeInMillis()
public void setTimeInMillis(long timeInMillis)
timeInMillis
- to set
|
© 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 |