Class CircuitBreakerState


  • public class CircuitBreakerState
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.util.Optional<java.lang.String> getReason()  
      int hashCode()  
      boolean isClosed()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CircuitBreakerState

        public CircuitBreakerState​(boolean isClosed)
      • CircuitBreakerState

        public CircuitBreakerState​(boolean isClosed,
                                   java.lang.String reason)
      • CircuitBreakerState

        public CircuitBreakerState​(boolean isClosed,
                                   java.util.Optional<java.lang.String> reason)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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

        public boolean isClosed()
      • getReason

        public java.util.Optional<java.lang.String> getReason()