Interface RetryPolicy

    • Method Detail

      • isExhausted

        boolean isExhausted()
        If the caller should stop retrying.
        TRUE if the caller should stop retrying
      • attempts

        int attempts()
        Attempts performed so far. Starts on 1, i.e. when no retry has been performed yet this returns 1.
        attempts performed so far.
      • increaseAttempt

        RetryPolicy increaseAttempt()
        Increase number of attempts.
        this policy after updating the internal state around attempts