public interface Clock
Modifier and Type | Method and Description |
---|---|
long |
monotonicTime()
Current time from a monotonic clock source.
|
long |
wallTime()
Current wall time in milliseconds since the epoch.
|
static final Clock SYSTEM
long wallTime()
StepLong
.long monotonicTime()