Interface BackOff

  • All Known Implementing Classes:
    SimpleBackOff

    public interface BackOff
    Computes the delay value.

    For each invocation of the retry strategy, one instance is obtained and used for computing all delay values. This instance may be used from multiple threads, but is not used concurrently. That is, implementations can hold state, but must take care of its visibility across threads.

    • Field Detail

    • Method Detail

      • getInMillis

        long getInMillis()
        Returns:
        non-negative number