@Inherited
 @Retention(value=RUNTIME)
 @Documented
 @Target(value={METHOD,TYPE})
public @interface CircuitBreaker
| Modifier and Type | Optional Element and Description | 
|---|---|
| long | delayThe delay. | 
| java.time.temporal.ChronoUnit | delayUnit | 
| java.lang.Class<? extends java.lang.Throwable>[] | failOnDefine the failure criteria | 
| double | failureRatioThe failure threshold to trigger the circuit to open. | 
| int | requestVolumeThresholdThe number of consecutive requests in a rolling window
 that will trip the circuit. | 
| int | successThresholdFor an open circuit, after the delay period is reached, once the successThreshold
 is reached, the circuit is back to close again. | 
public abstract java.lang.Class<? extends java.lang.Throwable>[] failOn
public abstract long delay
public abstract java.time.temporal.ChronoUnit delayUnit
public abstract int requestVolumeThreshold
public abstract double failureRatio