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

The default production implementation of IHystrixCircuitBreaker.
Inheritance: IHystrixCircuitBreaker
Mostrar archivo Open project: Elders/Hystrix.NET

Public Methods

Method Description
AllowRequest ( ) : bool
HystrixCircuitBreakerImpl ( IHystrixCommandProperties properties, HystrixCommandMetrics metrics ) : System

Initializes a new instance of the HystrixCircuitBreakerImpl class.

IsOpen ( ) : bool
MarkSuccess ( ) : void

Private Methods

Method Description
AllowSingleTest ( ) : bool

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

Method Details

AllowRequest() public method

public AllowRequest ( ) : bool
return bool

HystrixCircuitBreakerImpl() public method

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.
return System

IsOpen() public method

public IsOpen ( ) : bool
return bool

MarkSuccess() public method

public MarkSuccess ( ) : void
return void