|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.timer.TimeSourceServiceImpl
public class TimeSourceServiceImpl
Allow for different strategies for getting VM (wall clock) time. See JIRA issue ESPER-191 Support nano/microsecond resolution for more information on Java system time-call performance, accuracy and drift.
Field Summary | |
---|---|
static boolean |
IS_SYSTEM_CURRENT_TIME
A public variable indicating whether to use the System millisecond time or nano time, to be configured through the engine settings. |
Constructor Summary | |
---|---|
TimeSourceServiceImpl()
Ctor. |
Method Summary | |
---|---|
protected long |
calculateResolution()
Calculate resolution of this timer in microseconds i.e. |
long |
getTimeMillis()
Convenience method to get time in milliseconds |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static boolean IS_SYSTEM_CURRENT_TIME
Constructor Detail |
---|
public TimeSourceServiceImpl()
Method Detail |
---|
public long getTimeMillis()
getTimeMillis
in interface TimeSourceService
protected long calculateResolution()
public java.lang.String toString()
toString
in class java.lang.Object
|
© 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 |