public abstract class RetryPolicy extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RetryPolicy.Builder |
| Constructor and Description |
|---|
RetryPolicy() |
| Modifier and Type | Method and Description |
|---|---|
static RetryPolicy.Builder |
builder() |
Backoff.Strategy |
getBackoffStrategy() |
Runnable |
getBeforeRetry() |
ScheduledExecutorService |
getExecutor() |
int |
getMaxRetries() |
boolean |
getRestartAllStreamingCalls() |
@Value.Default public int getMaxRetries()
@Value.Default public Backoff.Strategy getBackoffStrategy()
@Value.Default public Runnable getBeforeRetry()
@Value.Default public boolean getRestartAllStreamingCalls()
@Value.Default public ScheduledExecutorService getExecutor()
public static RetryPolicy.Builder builder()