Package io.grpc
Class Deadline.SystemTicker
java.lang.Object
io.grpc.Deadline.Ticker
io.grpc.Deadline.SystemTicker
- Enclosing class:
Deadline
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
nanoTime()
Returns the number of nanoseconds since this source's epoch.
-
Constructor Details
-
SystemTicker
private SystemTicker()
-
-
Method Details
-
nanoTime
public long nanoTime()Description copied from class:Deadline.Ticker
Returns the number of nanoseconds since this source's epoch.- Specified by:
nanoTime
in classDeadline.Ticker
-