@Inherited
@Documented
@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
public @interface Retry
FaultToleranceDefinitionException
.Modifier and Type | Optional Element and Description |
---|---|
java.lang.Class<? extends java.lang.Throwable>[] |
abortOn |
long |
delay
The delay between retries.
|
java.time.temporal.ChronoUnit |
delayUnit |
java.time.temporal.ChronoUnit |
durationUnit |
long |
jitter
Set the jitter to randomly vary retry delays for.
|
java.time.temporal.ChronoUnit |
jitterDelayUnit |
long |
maxDuration
The max duration.
|
int |
maxRetries |
java.lang.Class<? extends java.lang.Throwable>[] |
retryOn |
public abstract int maxRetries
public abstract long delay
public abstract java.time.temporal.ChronoUnit delayUnit
public abstract long maxDuration
public abstract java.time.temporal.ChronoUnit durationUnit
public abstract long jitter
public abstract java.time.temporal.ChronoUnit jitterDelayUnit