Google Cloud Dataflow SDK for Java, version 1.9.1
com.google.cloud.dataflow.sdk.runners.inprocess
Class NanosOffsetClock
- java.lang.Object
-
- com.google.cloud.dataflow.sdk.runners.inprocess.NanosOffsetClock
-
- All Implemented Interfaces:
- Clock
public class NanosOffsetClock extends Object implements Clock
AClock
that usesSystem.nanoTime()
to track the progress of time.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static NanosOffsetClock
create()
Instant
now()
Returns the current time as anInstant
.
-