public class RetryWithBackoff extends RetryStrategy
| Modifier and Type | Class and Description |
|---|---|
static class |
RetryWithBackoff.Provider
A provider for this retry strategy.
|
| Modifier and Type | Method and Description |
|---|---|
void |
beforeRetry()
Should be called before re-attempting.
|
boolean |
failOnce()
Increments the number of failed attempts.
|
public boolean failOnce()
RetryStrategyfailOnce in class RetryStrategypublic void beforeRetry()
RetryStrategybeforeRetry in class RetryStrategyCopyright © 2017 The Apache Software Foundation. All rights reserved.