public class MillisecondClusterClock extends Object implements ClusterClock
ClusterClock
implemented by calling System.currentTimeMillis()
.Constructor and Description |
---|
MillisecondClusterClock() |
Modifier and Type | Method and Description |
---|---|
long |
time()
The count of
ClusterClock.timeUnit() s since 1 Jan 1970 UTC. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
map, map, timeMicros, timeMillis, timeNanos, timeUnit
public long time()
ClusterClock.timeUnit()
s since 1 Jan 1970 UTC.time
in interface ClusterClock
ClusterClock.timeUnit()
s since 1 Jan 1970 UTC.Copyright © 2014-2020 Real Logic Limited. All Rights Reserved.