- All Known Implementing Classes:
public interface DelayPolicyAn interface defining the delay policy between retries.
Duration delay(int attempts)Returns the delay needed before attempting the next retry.
attempts- The number of attempts made to make the call
- The duration to wait