public interface Ticker
| 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() |
static SetTicker |
forTesting() |
static Ticker |
highResolution() |
static Ticker |
micro() |
static Ticker |
milli() |
static Ticker |
nano() |
static long |
nanoClock()
The current wall-clock nanoseconds since epoch - named analogously to System.nanoTime()
|
long count()
long countPerSecond()
long countFromEpoch()
static long nanoClock()
static SetTicker forTesting()
static Ticker milli()
static Ticker micro()
static Ticker nano()
static Ticker highResolution()
Copyright © 2019. All rights reserved.