Class CallNotAllowedException

    • Method Detail

      • createCallNotAllowedException

        public static CallNotAllowedException createCallNotAllowedException​(String message,
                                                                            boolean writableStackTrace,
                                                                            CircuitBreakerOpenEvent openEvent)
        Creates a rejection that can be correlated with the breaker opening that caused it.
      • getOpenEvent

        public CircuitBreakerOpenEvent getOpenEvent()
        Returns the diagnostic event for the current breaker opening, if it is available.
      • getCorrelationId

        public String getCorrelationId()
        Returns the opening correlation identifier, if it is available.