@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
@Documented
public @interface CircuitBreaker
This annotation can be applied to a class or a specific method.
Applying it on a class is equivalent to applying it on all its public methods.
The annotation enables backend monitoring for all methods where it is applied.
Backend monitoring is performed via a circuit breaker.
See CircuitBreaker for details.