Beispiel #1
0
 //Move the circuit to half open state
 internal CircuitBreakerState MoveToHalfOpenState()
 {
     state = new HalfOpenState(this);
     return(state);
 }
Beispiel #2
0
 //Move the circuit to closed state
 internal CircuitBreakerState MoveToClosedState()
 {
     state = new ClosedState(this);
     return(state);
 }