Class CircuitBreakerState

java.lang.Object
io.openlineage.client.circuitBreaker.CircuitBreakerState

public class CircuitBreakerState extends Object
  • Constructor Details

    • CircuitBreakerState

      public CircuitBreakerState(boolean isClosed)
    • CircuitBreakerState

      public CircuitBreakerState(boolean isClosed, String reason)
    • CircuitBreakerState

      public CircuitBreakerState(boolean isClosed, Optional<String> reason)
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

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

      public boolean isClosed()
    • getReason

      public Optional<String> getReason()