Interface BackOffExecution


  • public interface BackOffExecution
    Represent a particular back-off execution.

    Implementations do not need to be thread safe.

    Since:
    4.1
    Author:
    Stephane Nicoll
    See Also:
    BackOff
    • Field Summary

      Fields 
      Modifier and TypeFieldDescription
      static longSTOP
      Return value of nextBackOff() that indicates that the operation should not be retried.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      longnextBackOff()
      Return the number of milliseconds to wait before retrying the operation or STOP (-1L) to indicate that no further attempt should be made for the operation.
    • Method Detail

      • nextBackOff

        long nextBackOff()
        Return the number of milliseconds to wait before retrying the operation or STOP (-1L) to indicate that no further attempt should be made for the operation.