C# Класс Polly.CircuitBreaker.CircuitBreakerPolicy

Показать файл Открыть проект

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

Метод Описание
Isolate ( ) : void

Isolates (opens) the circuit manually, and holds it in this state until a call to Reset() is made.

Reset ( ) : void

Closes the circuit, and resets any statistics controlling automated circuit-breaking.

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

Метод Описание
CircuitBreakerPolicy ( Action exceptionPolicy, IEnumerable exceptionPredicates, ICircuitController breakerController ) : System
CircuitBreakerPolicy ( Task>.Func asyncExceptionPolicy, IEnumerable exceptionPredicates, ICircuitController breakerController ) : System

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

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

Isolates (opens) the circuit manually, and holds it in this state until a call to Reset() is made.
public Isolate ( ) : void
Результат void

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

Closes the circuit, and resets any statistics controlling automated circuit-breaking.
public Reset ( ) : void
Результат void