@Target(value={METHOD,TYPE})
@Retention(value=RUNTIME)
@Documented
public @interface Retryable
| Modifier and Type | Optional Element and Description |
|---|---|
Backoff |
backoff
Specify the backof properties for retrying this operation.
|
java.lang.Class<? extends java.lang.Throwable>[] |
exclude
Exception types that are not retryable.
|
java.lang.Class<? extends java.lang.Throwable>[] |
include
Exception types that are retryable.
|
java.lang.String |
interceptor
Retry interceptor bean name to be applied for retryable method.
|
int |
maxAttempts |
boolean |
stateful
Flag to say that the retry is stateful: i.e.
|
java.lang.Class<? extends java.lang.Throwable>[] |
value
Exception types that are retryable.
|
public abstract java.lang.String interceptor
public abstract java.lang.Class<? extends java.lang.Throwable>[] value
public abstract java.lang.Class<? extends java.lang.Throwable>[] include
public abstract java.lang.Class<? extends java.lang.Throwable>[] exclude
public abstract boolean stateful
public abstract int maxAttempts
public abstract Backoff backoff