Interface RetryPolicy.Constant
- All Superinterfaces:
RetryPolicy
- Enclosing interface:
- RetryPolicy
The operation will be retried periodically with a maximum
number of tries.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.nevis.mobile.sdk.api.operation.RetryPolicy
RetryPolicy.Constant, RetryPolicy.Exponential, RetryPolicy.NoRetry
-
Method Summary
Modifier and TypeMethodDescriptionstatic RetryPolicy.Constant.Builder
builder()
Returns an object that can be used to build aRetryPolicy
.long
The period of time between retries.int
The maximum number of retries
-
Method Details
-
maxRetries
int maxRetries()The maximum number of retries- Returns:
- the maximum number of retries
-
delayInSeconds
long delayInSeconds()The period of time between retries.- Returns:
- the period of time in seconds
-
builder
Returns an object that can be used to build aRetryPolicy
.- Returns:
- a
RetryPolicy
builder
-