Package io.grpc.internal
Interface RetryScheduler
-
- All Known Implementing Classes:
BackoffPolicyRetryScheduler
public interface RetryScheduler
This interface is used to schedule future retry attempts for a failed operation. The retry delay and the number of attempt is defined by implementing classes. Implementations should assure that only one future retry operation is ever scheduled at a time.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
reset()
Resets the scheduler, effectively cancelling any future retry operation.void
schedule(java.lang.Runnable retryOperation)
A request to schedule a future retry (or retries) for a failed operation.
-