프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Threshold | int | ||
Timeout | System.TimeSpan |
메소드 | 설명 | |
---|---|---|
Circuit ( int threshold, System.TimeSpan timeout, CircuitState state ) : System | ||
Execute ( System.Action action ) : void | ||
ExecuteAsync ( System.Action action ) : System.Threading.Tasks.Task |
메소드 | 설명 | |
---|---|---|
AssertState ( CircuitPosition position ) : void | ||
HandleException ( |
protected AssertState ( CircuitPosition position ) : void | ||
position | CircuitPosition | |
리턴 | void |
public Circuit ( int threshold, System.TimeSpan timeout, CircuitState state ) : System | ||
threshold | int | |
timeout | System.TimeSpan | |
state | CircuitState | |
리턴 | System |
public ExecuteAsync ( System.Action action ) : System.Threading.Tasks.Task | ||
action | System.Action | |
리턴 | System.Threading.Tasks.Task |
protected HandleException ( |
||
exception | ||
state | CircuitState | |
리턴 | void |