Package com.cloudera.cdp.http
Interface DelayPolicy
- All Known Implementing Classes:
ExponentialBackoffDelayPolicy
public interface DelayPolicy
An interface defining the delay policy between retries.
-
Method Summary
-
Method Details
-
delay
Returns the delay needed before attempting the next retry.- Parameters:
attempts
- The number of attempts made to make the call- Returns:
- The duration to wait
-