C# Class Elders.Hystrix.NET.Test.CircuitBreakerTestImplementations.TestCircuitBreaker

Inheritance: IHystrixCircuitBreaker
Exibir arquivo Open project: Elders/Hystrix.NET Class Usage Examples

Public Methods

Method Description
AllowRequest ( ) : bool
IsOpen ( ) : bool
MarkSuccess ( ) : void
SetForceShortCircuit ( bool value ) : TestCircuitBreaker
TestCircuitBreaker ( ) : Elders.Hystrix.NET.Test.HystrixCommandTestImplementations

Method Details

AllowRequest() public method

public AllowRequest ( ) : bool
return bool

IsOpen() public method

public IsOpen ( ) : bool
return bool

MarkSuccess() public method

public MarkSuccess ( ) : void
return void

SetForceShortCircuit() public method

public SetForceShortCircuit ( bool value ) : TestCircuitBreaker
value bool
return TestCircuitBreaker

TestCircuitBreaker() public method

public TestCircuitBreaker ( ) : Elders.Hystrix.NET.Test.HystrixCommandTestImplementations
return Elders.Hystrix.NET.Test.HystrixCommandTestImplementations