public class RetryAntn extends MethodAntn implements org.eclipse.microprofile.faulttolerance.Retry
| Constructor and Description |
|---|
RetryAntn(java.lang.reflect.Method method)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends java.lang.Throwable>[] |
abortOn() |
long |
delay() |
java.time.temporal.ChronoUnit |
delayUnit() |
java.time.temporal.ChronoUnit |
durationUnit() |
long |
jitter() |
java.time.temporal.ChronoUnit |
jitterDelayUnit() |
long |
maxDuration() |
int |
maxRetries() |
java.lang.Class<? extends java.lang.Throwable>[] |
retryOn() |
void |
validate()
Validate the annotation on this method.
|
annotationType, getMethod, getParamOverride, getProperty, lookupAnnotationpublic RetryAntn(java.lang.reflect.Method method)
method - The method.public void validate()
MethodAntnvalidate in class MethodAntnpublic int maxRetries()
public long delay()
public java.time.temporal.ChronoUnit delayUnit()
public long maxDuration()
public java.time.temporal.ChronoUnit durationUnit()
public long jitter()
public java.time.temporal.ChronoUnit jitterDelayUnit()
public java.lang.Class<? extends java.lang.Throwable>[] retryOn()
public java.lang.Class<? extends java.lang.Throwable>[] abortOn()
Copyright © 2018–2019 Oracle Corporation. All rights reserved.