Annotation Type CircuitBreakerName


  • @Retention(RUNTIME)
    @Target(METHOD)
    @Experimental("first attempt at providing maintenance access to circuit breakers")
    public @interface CircuitBreakerName
    A @CircuitBreaker method can be annotated @CircuitBreakerName to provide a name for the circuit breaker associated with the annotated method. This name can then be used with CircuitBreakerMaintenance.

    It is an error if multiple @CircuitBreaker methods have the same @CircuitBreakerName.

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value