Package io.grpc.internal
Interface RetryScheduler
-
- All Known Implementing Classes:
BackoffPolicyRetryScheduler
public interface RetrySchedulerThis 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 voidreset()Resets the scheduler, effectively cancelling any future retry operation.voidschedule(java.lang.Runnable retryOperation)A request to schedule a future retry (or retries) for a failed operation.
-