Interface Breaker


public interface Breaker
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Convenience method, returns the opposite of isTripped()
    boolean
    Returns true if the breaker is in the tripped state; a tripped state indicates that incoming requests should be failed immediately, or that the requests should follow some alternate codepath
  • Method Details

    • isTripped

      boolean isTripped()
      Returns true if the breaker is in the tripped state; a tripped state indicates that incoming requests should be failed immediately, or that the requests should follow some alternate codepath
      Returns:
    • isNormal

      boolean isNormal()
      Convenience method, returns the opposite of isTripped()
      Returns: