C# Class Elders.Hystrix.NET.CircuitBreaker.HystrixCircuitBreakerImpl

The default production implementation of IHystrixCircuitBreaker.
Inheritance: IHystrixCircuitBreaker
Afficher le fichier Open project: Elders/Hystrix.NET

Méthodes publiques

Méthode Description
AllowRequest ( ) : bool
HystrixCircuitBreakerImpl ( IHystrixCommandProperties properties, HystrixCommandMetrics metrics ) : System

Initializes a new instance of the HystrixCircuitBreakerImpl class.

IsOpen ( ) : bool
MarkSuccess ( ) : void

Private Methods

Méthode Description
AllowSingleTest ( ) : bool

Gets whether the circuit breaker should permit a single test request.

Method Details

AllowRequest() public méthode

public AllowRequest ( ) : bool
Résultat bool

HystrixCircuitBreakerImpl() public méthode

Initializes a new instance of the HystrixCircuitBreakerImpl class.
public HystrixCircuitBreakerImpl ( IHystrixCommandProperties properties, HystrixCommandMetrics metrics ) : System
properties IHystrixCommandProperties The properties of the owner command.
metrics HystrixCommandMetrics The metrics of the owner command.
Résultat System

IsOpen() public méthode

public IsOpen ( ) : bool
Résultat bool

MarkSuccess() public méthode

public MarkSuccess ( ) : void
Résultat void