Class CircuitBreakerOnCallNotPermittedEvent

  • All Implemented Interfaces:
    CircuitBreakerEvent

    public class CircuitBreakerOnCallNotPermittedEvent
    extends java.lang.Object
    A CircuitBreakerEvent which informs that a call was not permitted, because the CircuitBreaker is OPEN.
    • Constructor Detail

      • CircuitBreakerOnCallNotPermittedEvent

        public CircuitBreakerOnCallNotPermittedEvent​(java.lang.String circuitBreakerName)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getCircuitBreakerName

        public java.lang.String getCircuitBreakerName()
        Description copied from interface: CircuitBreakerEvent
        Returns the name of the CircuitBreaker which has created the event.
        Specified by:
        getCircuitBreakerName in interface CircuitBreakerEvent
        Returns:
        the name of the CircuitBreaker which has created the event
      • getCreationTime

        public java.time.ZonedDateTime getCreationTime()
        Description copied from interface: CircuitBreakerEvent
        Returns the creation time of CircuitBreaker event.
        Specified by:
        getCreationTime in interface CircuitBreakerEvent
        Returns:
        the creation time of CircuitBreaker event