• Home
Show / Hide Table of Contents

Class HystrixCircuitBreaker

Inheritance
System.Object
HystrixCircuitBreaker
Implements
IHystrixCircuitBreaker
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Hystrix.Dotnet
Assembly: Hystrix.Dotnet.dll
Syntax
public class HystrixCircuitBreaker : IHystrixCircuitBreaker

Constructors

| Improve this Doc View Source

HystrixCircuitBreaker(IDateTimeProvider, HystrixCommandIdentifier, IHystrixConfigurationService, IHystrixCommandMetrics)

Declaration
public HystrixCircuitBreaker(IDateTimeProvider dateTimeProvider, HystrixCommandIdentifier commandIdentifier, IHystrixConfigurationService configurationService, IHystrixCommandMetrics commandMetrics)
Parameters
Type Name Description
IDateTimeProvider dateTimeProvider
HystrixCommandIdentifier commandIdentifier
IHystrixConfigurationService configurationService
IHystrixCommandMetrics commandMetrics

Properties

| Improve this Doc View Source

CircuitIsOpen

Declaration
public 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
public bool AllowRequest()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

CloseCircuit()

Closes the circuit

Declaration
public void CloseCircuit()
| Improve this Doc View Source

OpenCircuit()

Opens the circuit

Declaration
public void OpenCircuit()

Implements

IHystrixCircuitBreaker
  • Improve this Doc
  • View Source
Back to top Licensed under MIT by Travix International.
Generated by DocFX.