public interface RetryPolicy
RetryPolicies
Modifier and Type | Method | Description |
---|---|---|
int |
getCount() |
This is the number of retry to be done.
|
void |
sleepBetweenRetry(int retry) |
This is the method called to wait between a retry.
|
int getCount()
void sleepBetweenRetry(int retry)
retry
- the current retry (start at 1). A initial try has been done before
any retry without wait time.Copyright © 2021. All rights reserved.