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().
Specification: All implementations must have a public no-arg constructor.
| Modifier and Type | Method and Description |
|---|---|
long |
getNanos()
Generates a count of nanoseconds.
|
java.lang.String |
getPlatform()
Determines the name of the platform where this implementation should be used.
|
java.lang.String getPlatform()
Determines the name of the platform where this implementation should be used.
long getNanos()
Generates a count of nanoseconds.