@InterfaceAudience.Private public class RetryCounterFactory extends Object
Modifier and Type | Field and Description |
---|---|
private RetryCounter.RetryConfig |
retryConfig |
Constructor and Description |
---|
RetryCounterFactory(int sleepIntervalMillis) |
RetryCounterFactory(int maxAttempts,
int sleepIntervalMillis) |
RetryCounterFactory(int maxAttempts,
int sleepIntervalMillis,
int maxSleepTime) |
RetryCounterFactory(RetryCounter.RetryConfig retryConfig) |
private final RetryCounter.RetryConfig retryConfig
public RetryCounterFactory(int sleepIntervalMillis)
public RetryCounterFactory(int maxAttempts, int sleepIntervalMillis)
public RetryCounterFactory(int maxAttempts, int sleepIntervalMillis, int maxSleepTime)
public RetryCounterFactory(RetryCounter.RetryConfig retryConfig)
public RetryCounter create()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.