Interface Backoff

All Known Implementing Classes:
Backoff.ExponentialBackoff, Backoff.None

public interface Backoff
  • Method Details

    • maxAttempts

      int maxAttempts()
      Returns:
      max attempts allowed, == 0 implies no retries are allowed
    • computeWaitTime

      long computeWaitTime(int retryCount)
    • unit

      TimeUnit unit()