|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.terracotta.statistics.Time
public final class Time
This class contains the static time-sources used within the framework.
| Nested Class Summary | |
|---|---|
static interface |
Time.TimeSource
|
| Method Summary | |
|---|---|
static long |
absoluteTime()
Returns a timestamp in milliseconds whose origin is at the Unix Epoch. |
static long |
time()
Returns a timestamp in nanoseconds with an arbitrary origin suitable for timing purposes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static long time()
This contract is non-coincidentally reminiscent of
System.nanoTime().
public static long absoluteTime()
This contract is non-coincidentally reminiscent of
System.currentTimeMillis().
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||