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

Inheritance: IHystrixCircuitBreaker
Afficher le fichier Open project: Elders/Hystrix.NET Class Usage Examples

Méthodes publiques

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

Method Details

AllowRequest() public méthode

public AllowRequest ( ) : bool
Résultat bool

IsOpen() public méthode

public IsOpen ( ) : bool
Résultat bool

MarkSuccess() public méthode

public MarkSuccess ( ) : void
Résultat void

SetForceShortCircuit() public méthode

public SetForceShortCircuit ( bool value ) : TestCircuitBreaker
value bool
Résultat TestCircuitBreaker

TestCircuitBreaker() public méthode

public TestCircuitBreaker ( ) : Elders.Hystrix.NET.Test.HystrixCommandTestImplementations
Résultat Elders.Hystrix.NET.Test.HystrixCommandTestImplementations