Package io.grpc.internal
Interface TimeProvider
public interface TimeProvider
Time source representing the current system time in nanos. Used to inject a fake clock
into unit tests.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
SYSTEM_TIME_PROVIDER
-
-
Method Details
-
currentTimeNanos
long currentTimeNanos()Returns the current nano time.
-