Class BackoffPolicyRetryScheduler

    • Method Detail

      • schedule

        public void schedule​(java.lang.Runnable retryOperation)
        Schedules a future retry operation. Only allows one retry to be scheduled at any given time.
        Specified by:
        schedule in interface RetryScheduler
      • reset

        public void reset()
        Resets the BackoffPolicyRetryScheduler and cancels any pending retry task. The policy will be cleared thus also resetting any state associated with it (e.g. a backoff multiplier).
        Specified by:
        reset in interface RetryScheduler