Package io.grpc.internal
Interface RetryScheduler
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
-
Method Details
-
schedule
A request to schedule a future retry (or retries) for a failed operation. Noop if an operation has already been scheduled. -
reset
void reset()Resets the scheduler, effectively cancelling any future retry operation.
-