|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented @Retention(value=RUNTIME) @Target(value=METHOD) @Inherited public @interface RetryIt
| Required Element Summary | |
|---|---|
ParameterSaveType |
saverType
|
| Optional Element Summary | |
|---|---|
Class<? extends IParameterSaver> |
customSaver
|
int |
delay
Milliseconds to wait before the next execution. |
int |
numberOfRetries
How often should the execution be retried. |
Class<? extends Throwable>[] |
retryFor
|
boolean |
useGlobalSettings
Should either the values for numberOfRetries()
and delay() of this annotation be used, or the global settings
in RetryHandler. |
| Element Detail |
|---|
public abstract ParameterSaveType saverType
public abstract int numberOfRetries
Defaults to 2
public abstract int delay
Defaults to 100
public abstract boolean useGlobalSettings
numberOfRetries()
and delay() of this annotation be used, or the global settings
in RetryHandler.
Defaults to true for global Settings.
Note:
This has nothing to do with the default values for
numberOfRetries() and delay()
RetryHandlerpublic abstract Class<? extends Throwable>[] retryFor
public abstract Class<? extends IParameterSaver> customSaver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||