• Home
Show / Hide Table of Contents

Interface IHystrixCircuitBreaker

Namespace: Hystrix.Dotnet
Assembly: Hystrix.Dotnet.dll
Syntax
public interface IHystrixCircuitBreaker

Properties

| Improve this Doc View Source

CircuitIsOpen

Indicates whether the circuit is open or not, without affecting the state

Declaration
bool CircuitIsOpen { get; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

AllowRequest()

Checks whether a request is allowed and changes state of the circuit breaker if there's a reason to do so

Declaration
bool AllowRequest()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

CloseCircuit()

Closes the circuit

Declaration
void CloseCircuit()
| Improve this Doc View Source

OpenCircuit()

Opens the circuit

Declaration
void OpenCircuit()
  • Improve this Doc
  • View Source
Back to top Licensed under MIT by Travix International.
Generated by DocFX.