java.lang.Object
org.apache.kafka.common.security.oauthbearer.secured.Retry<R>
Type Parameters:
R - Result type

public class Retry<R> extends Object
Retry encapsulates the mechanism to perform a retry and then exponential backoff using provided wait times between attempts.
  • 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