public static class BoxRetryStrategy.Builder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
maxAttempts |
protected Integer |
maxRetriesOnException |
protected Double |
retryBaseInterval |
protected Double |
retryRandomizationFactor |
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
BoxRetryStrategy |
build() |
BoxRetryStrategy.Builder |
maxAttempts(int maxAttempts) |
BoxRetryStrategy.Builder |
maxRetriesOnException(int maxRetriesOnException) |
BoxRetryStrategy.Builder |
retryBaseInterval(double retryBaseInterval) |
BoxRetryStrategy.Builder |
retryRandomizationFactor(double retryRandomizationFactor) |
protected Integer maxAttempts
protected Double retryRandomizationFactor
protected Double retryBaseInterval
protected Integer maxRetriesOnException
public Builder()
public BoxRetryStrategy.Builder maxAttempts(int maxAttempts)
public BoxRetryStrategy.Builder retryRandomizationFactor(double retryRandomizationFactor)
public BoxRetryStrategy.Builder retryBaseInterval(double retryBaseInterval)
public BoxRetryStrategy.Builder maxRetriesOnException(int maxRetriesOnException)
public BoxRetryStrategy build()