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 Modifier and Type Interface Description static interface
BackoffPolicy.Provider
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
nextBackoffNanos()
Returns the number of nanoseconds to wait.
-