public interface Retryable
extends org.refcodes.mixin.Restartable, org.refcodes.mixin.Abortable
Retryable
provides methods for performing various retry
iterations, be it based on retry counts or retry timeouts.Modifier and Type | Method and Description |
---|---|
int |
getRetryCount()
The current state regarding the retires.
|
boolean |
hasNextRetry()
Returns true in case not all retires have been used up.
|
boolean |
nextRetry()
Tests whether a next retry is possible.
|
boolean nextRetry()
hasNextRetry()
.boolean hasNextRetry()
int getRetryCount()
Copyright © 2016. All rights reserved.