C# Класс Elders.Hystrix.NET.CircuitBreaker.HystrixCircuitBreakerImpl

The default production implementation of IHystrixCircuitBreaker.
Наследование: IHystrixCircuitBreaker
Показать файл Открыть проект

Открытые методы

Метод Описание
AllowRequest ( ) : bool
HystrixCircuitBreakerImpl ( IHystrixCommandProperties properties, HystrixCommandMetrics metrics ) : System

Initializes a new instance of the HystrixCircuitBreakerImpl class.

IsOpen ( ) : bool
MarkSuccess ( ) : void

Приватные методы

Метод Описание
AllowSingleTest ( ) : bool

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

Описание методов

AllowRequest() публичный Метод

public AllowRequest ( ) : bool
Результат bool

HystrixCircuitBreakerImpl() публичный Метод

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.
Результат System

IsOpen() публичный Метод

public IsOpen ( ) : bool
Результат bool

MarkSuccess() публичный Метод

public MarkSuccess ( ) : void
Результат void