public interface TickProvider
This SPI-interface describes how nanoseconds since an arbitrary start time are generated.
Will be evaluated during loading of the class SystemClock. The internal standard
implementation uses System.nanoTime().
| Modifier and Type | Method and Description |
|---|---|
long |
getNanos()
Generates a count of nanoseconds.
|
String |
getPlatform()
Determines the name of the platform where this implementation should be used.
|
String getPlatform()
Determines the name of the platform where this implementation should be used.
long getNanos()
Generates a count of nanoseconds.
Copyright © 2014–2017. All rights reserved.