public interface TimeMeter extends Serializable
SYSTEM_NANOTIME,
SYSTEM_MILLISECONDS| Modifier and Type | Field and Description |
|---|---|
static TimeMeter |
SYSTEM_MILLISECONDS
The implementation of
TimeMeter which works around System.currentTimeMillis() |
static TimeMeter |
SYSTEM_NANOTIME
The implementation of
TimeMeter which works arround System.nanoTime() |
| Modifier and Type | Method and Description |
|---|---|
long |
currentTimeNanos()
Returns current time in nanosecond precision, but not necessarily nanosecond resolution.
|
static final TimeMeter SYSTEM_NANOTIME
TimeMeter which works arround System.nanoTime()static final TimeMeter SYSTEM_MILLISECONDS
TimeMeter which works around System.currentTimeMillis()Copyright © 2017. All rights reserved.