Interface Breaker
public interface Breaker
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isNormal()
Convenience method, returns the opposite ofisTripped()
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 ofisTripped()
- Returns:
-