Class CircuitBreakerState
java.lang.Object
de.rss.fachstudie.MiSim.entities.patterns.CircuitBreakerState
public class CircuitBreakerState extends Object
This class represents an actual CircuitBreaker with the behavior defined by Hystrix.
- Author:
- Lion Wagner
- See Also:
CircuitBreaker
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCircuitBreakerState.BreakerState -
Method Summary
Modifier and Type Method Description org.javatuples.TuplegetCurrentStatistics()CircuitBreakerState.BreakerStategetState()booleanisOpen()
-
Method Details
-
getCurrentStatistics
public org.javatuples.Tuple getCurrentStatistics() -
getState
-
isOpen
public boolean isOpen()
-