@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) String |
attempts |
Class<? extends Throwable> |
capturedException |
String |
delay |
Class<? extends Throwable>[] |
excludes |
Class<? extends Throwable>[] |
includes |
String |
maxDelay |
@Digits(integer=2,fraction=2) String |
multiplier |
Class<? extends RetryPredicate> |
predicate |
Class<? extends Throwable>[] |
value |
public abstract String delay
public abstract String maxDelay
public abstract Class<? extends RetryPredicate> predicate
includes()
and excludes()
(defaults to none)