public interface TimestampProvider
| Modifier and Type | Method and Description |
|---|---|
long |
currentTimeMillis()
Gets the current platform time in milliseconds.
|
long |
nanoTime()
Gets the current platform time in nanoseconds.
|
long currentTimeMillis()
long nanoTime()