@Documented @Retention(value=RUNTIME) @Target(value={METHOD,TYPE,ANNOTATION_TYPE}) @Around @Type(value=DefaultRetryInterceptor.class) public @interface Retryable
Modifier and Type | Fields and Description |
---|---|
static int |
MAX_INTEGRAL_DIGITS |
Modifier and Type | Optional Element and Description |
---|---|
@Digits(integer=4,fraction=0) java.lang.String |
attempts |
java.lang.String |
delay |
java.lang.Class<? extends java.lang.Throwable>[] |
excludes |
java.lang.Class<? extends java.lang.Throwable>[] |
includes |
java.lang.String |
maxDelay |
@Digits(integer=2,fraction=2) java.lang.String |
multiplier |
java.lang.Class<? extends RetryPredicate> |
predicate |
java.lang.Class<? extends java.lang.Throwable>[] |
value |
public abstract java.lang.Class<? extends java.lang.Throwable>[] value
public abstract java.lang.Class<? extends java.lang.Throwable>[] excludes
@Digits(integer=4, fraction=0) public abstract @Digits(integer=4,fraction=0) java.lang.String attempts
public abstract java.lang.String delay
@Digits(integer=2, fraction=2) public abstract @Digits(integer=2,fraction=2) java.lang.String multiplier
public abstract java.lang.Class<? extends RetryPredicate> predicate
includes()
and excludes()
(defaults to none)