コード例 #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);
 }