Package io.grpc.internal
Interface BackoffPolicy
- All Known Implementing Classes:
ExponentialBackoffPolicy
public interface BackoffPolicy
Determines how long to wait before doing some action (typically a retry, or a reconnect).
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the number of nanoseconds to wait.
-
Method Details
-
nextBackoffNanos
long nextBackoffNanos()Returns the number of nanoseconds to wait.
-