Class Retry<R>
java.lang.Object
org.apache.kafka.common.security.oauthbearer.secured.Retry<R>
- Type Parameters:
R
- Result type
Retry encapsulates the mechanism to perform a retry and then exponential
backoff using provided wait times between attempts.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Retry
public Retry(long retryBackoffMs, long retryBackoffMaxMs) -
Retry
public Retry(org.apache.kafka.common.utils.Time time, long retryBackoffMs, long retryBackoffMaxMs)
-
-
Method Details
-
execute
- Throws:
ExecutionException
-