| Package | Description |
|---|---|
| com.nukkitx.network.util |
| Modifier and Type | Method and Description |
|---|---|
static Ticker |
Ticker.systemTicker()
A ticker that reads the current time using
System.nanoTime(). |
| Modifier and Type | Method and Description |
|---|---|
static Stopwatch |
Stopwatch.createStarted(Ticker ticker)
Creates (and starts) a new stopwatch, using the specified time source.
|
static Stopwatch |
Stopwatch.createUnstarted(Ticker ticker)
Creates (but does not start) a new stopwatch, using the specified time source.
|
Copyright © 2018–2019. All rights reserved.