| Modifier and Type | Field | Description | 
|---|---|---|
static RetryPolicy | 
RetryPolicies.RETRY_ONLY_ONCE | 
 Retry Policy to just do one try. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
static RetryPolicy | 
RetryPolicies.of(int count,
  long ms) | 
 Create a new RetryPolicy with constant wait time. 
 | 
static RetryPolicy | 
RetryPolicies.of(int count,
  long value,
  TimeUnit unit) | 
 Create a new RetryPolicy with constant wait time. 
 | 
static RetryPolicy | 
RetryPolicies.of(int count,
  Duration duration) | 
 Create a new RetryPolicy with constant wait time. 
 | 
static RetryPolicy | 
RetryPolicies.of(int count,
  IntToLongFunction retryToWaitTime) | 
 Create a new RetryPolicy, by using a generic function to compute the retry
 duration. 
 | 
static RetryPolicy | 
RetryPolicies.ofIncremental(int count,
             long ms) | 
 Create a new RetryPolicy, that wait each time more time : first time the
 received duration, second time twice, etc. 
 | 
static RetryPolicy | 
RetryPolicies.ofIncremental(int count,
             Duration duration) | 
 Create a new RetryPolicy, that wait each time more time : first time the
 received duration, second time twice, etc. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
WaitResultBuilder5<T> | 
WaitResultBuilder3.repeat(RetryPolicy retry) | 
 Specify a retry clause. 
 | 
Copyright © 2021. All rights reserved.