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