public class TimeSourceServiceImpl extends Object implements TimeSourceService
Modifier and Type | Field and Description |
---|---|
static boolean |
isSystemCurrentTime
A public variable indicating whether to use the System millisecond time or
nano time, to be configured through the engine settings.
|
Constructor and Description |
---|
TimeSourceServiceImpl()
Ctor.
|
Modifier and Type | Method and Description |
---|---|
protected long |
calculateResolution()
Calculate resolution of this timer in microseconds i.e.
|
long |
getTimeMillis()
Convenience method to get time in milliseconds
|
String |
toString() |
public static boolean isSystemCurrentTime
public long getTimeMillis()
getTimeMillis
in interface TimeSourceService
protected long calculateResolution()