@Target(value={METHOD,TYPE}) @Retention(value=RUNTIME) @Documented public @interface Retryable
Modifier and Type | Optional Element and Description |
---|---|
Backoff |
backoff
Specify the backoff properties for retrying this operation.
|
Class<? extends Throwable>[] |
exclude
Exception types that are not retryable.
|
Class<? extends Throwable>[] |
include
Exception types that are retryable.
|
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.
|
Class<? extends Throwable>[] |
value
Exception types that are retryable.
|
public abstract String interceptor
public abstract Class<? extends Throwable>[] value
public abstract Class<? extends Throwable>[] include
public abstract Class<? extends Throwable>[] exclude
public abstract boolean stateful
public abstract int maxAttempts
public abstract Backoff backoff
Copyright © 2014 SpringSource. All rights reserved.