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