| Modifier and Type | Field and Description |
|---|---|
static NanoTicker |
INSTANCE |
| Constructor and Description |
|---|
NanoTicker() |
| Modifier and Type | Method and Description |
|---|---|
long |
count() |
long |
countFromEpoch()
The number of ticks to add to get epoch time, or an approximation of wall time.
|
long |
countPerSecond() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforTesting, highResolution, micro, milli, nano, nanoClockpublic static final NanoTicker INSTANCE
public long countPerSecond()
countPerSecond in interface Tickerpublic long countFromEpoch()
TickercountFromEpoch in interface TickerCopyright © 2019. All rights reserved.