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()
RetryStrategy
failOnce
in class RetryStrategy
public void beforeRetry()
RetryStrategy
beforeRetry
in class RetryStrategy
Copyright © 2017 The Apache Software Foundation. All rights reserved.