public class RetrySpec extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONSTANT |
static String |
EXPONENTIAL |
static String |
LINEAR |
| Constructor and Description |
|---|
RetrySpec() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAfter() |
int |
getCeil() |
int |
getInterval() |
int |
getMaxDuration() |
String |
getStrategy() |
boolean |
isConstant() |
boolean |
isExponential() |
boolean |
isLinear() |
public static final String CONSTANT
public static final String LINEAR
public static final String EXPONENTIAL
public String getStrategy()
public int getInterval()
public int getAfter()
public int getMaxDuration()
public int getCeil()
public boolean isConstant()
public boolean isLinear()
public boolean isExponential()
Copyright © 2017. All rights reserved.