|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRetryable
Interface to implement to be able to have methods retried.
Field Summary | |
---|---|
static int |
KEEP_TRYING
Keep retrying the call. |
static int |
STOP_TRYING
Stop retrying the call. |
static int |
TRY_NEXT_RUN
Stop retrying the call for now, but retry next time the VM is started. |
Method Summary | |
---|---|
int |
maxRetriesReached(RetryableCallResult result)
The maximum number of retries has been reached. |
void |
retryCallback(RetryableCallResult result)
The call is done. |
Field Detail |
---|
static final int STOP_TRYING
static final int KEEP_TRYING
static final int TRY_NEXT_RUN
Method Detail |
---|
int maxRetriesReached(RetryableCallResult result)
result
- Information about the call.
void retryCallback(RetryableCallResult result)
result
- Result of the call.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |