示例#1
0
 internal CircuitBreakerState MoveToHalfOpenState()
 {
     _state = new HalfOpenState(this);
     NotifyStateChange(_state);
     return(_state);
 }
示例#2
0
 internal CircuitBreakerState MoveToClosedState()
 {
     _state = new ClosedState(this);
     NotifyStateChange(_state);
     return(_state);
 }