Time source representing nanoseconds since fixed but arbitrary point in time. DO NOT use custom Ticker implementations in production, because deadlines created with custom tickers are incompatible with those created with the system ticker. Always use the {@link #getSystemTicker system t
| 267 | * @since 1.24.0 |
| 268 | */ |
| 269 | public abstract static class Ticker { |
| 270 | /** Returns the number of nanoseconds elapsed since this ticker's reference point in time. */ |
| 271 | public abstract long nanoTime(); |
| 272 | } |
| 273 | |
| 274 | private static final class SystemTicker extends Ticker { |
| 275 | @Override |
nothing calls this directly
no outgoing calls
no test coverage detected