Annotation Interface Retryable
@Documented
@Retention(RUNTIME)
@Target({METHOD,TYPE,ANNOTATION_TYPE})
@Around
@Type(DefaultRetryInterceptor.class)
public @interface Retryable
AOP Advice that can be applied to any method.
- Since:
- 1.0
- Author:
- graemerocher
-
Field Summary
Fields -
Optional Element Summary
Optional Elements
-
Field Details
-
MAX_INTEGRAL_DIGITS
static final int MAX_INTEGRAL_DIGITS- See Also:
-
-
Element Details
-
value
-
includes
-
excludes
-
attempts
-
delay
-
maxDelay
-
multiplier
-
predicate
Class<? extends RetryPredicate> predicate- Returns:
- The retry predicate class to use instead of
includes()andexcludes()(defaults to none)
- Default:
io.micronaut.retry.annotation.DefaultRetryPredicate.class
-
capturedException
-
jitter
-