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 ClassesNested 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.Builderbuilder()Returns an object that can be used to build aRetryPolicy.longThe period of time between retries.intThe 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
RetryPolicybuilder
-