public class BackoffExponentialRetryPolicy extends Object
| Constructor and Description |
|---|
BackoffExponentialRetryPolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
errorOccured(Exception exception)
Report that an error has occured and sleeps if the error is retriable
|
int |
getCurrentAttempt() |
boolean |
shouldRetry() |
public int getCurrentAttempt()
public boolean shouldRetry()
public void errorOccured(Exception exception)
exception - Copyright © 2015. All rights reserved.