Table of Contents

Class HystrixCommandOptions

Namespace
Steeltoe.CircuitBreaker.Hystrix
Assembly
Steeltoe.CircuitBreaker.HystrixBase.dll
public class HystrixCommandOptions : HystrixBaseOptions, IHystrixCommandOptions
Inheritance
HystrixCommandOptions
Implements
Inherited Members

Constructors

HystrixCommandOptions(IHystrixCommandGroupKey, IHystrixCommandKey, IHystrixCommandOptions, IHystrixDynamicOptions)

public HystrixCommandOptions(IHystrixCommandGroupKey groupKey, IHystrixCommandKey key, IHystrixCommandOptions defaults = null, IHystrixDynamicOptions dynamic = null)

Parameters

groupKey IHystrixCommandGroupKey
key IHystrixCommandKey
defaults IHystrixCommandOptions
dynamic IHystrixDynamicOptions

HystrixCommandOptions(IHystrixCommandKey, IHystrixCommandOptions, IHystrixDynamicOptions)

public HystrixCommandOptions(IHystrixCommandKey key, IHystrixCommandOptions defaults = null, IHystrixDynamicOptions dynamic = null)

Parameters

key IHystrixCommandKey
defaults IHystrixCommandOptions
dynamic IHystrixDynamicOptions

Fields

HYSTRIX_COMMAND_PREFIX

protected const string HYSTRIX_COMMAND_PREFIX = "hystrix:command"

Field Value

string

defaults

protected IHystrixCommandOptions defaults

Field Value

IHystrixCommandOptions

Properties

CircuitBreakerEnabled

public virtual bool CircuitBreakerEnabled { get; set; }

Property Value

bool

CircuitBreakerErrorThresholdPercentage

public virtual int CircuitBreakerErrorThresholdPercentage { get; set; }

Property Value

int

CircuitBreakerForceClosed

public virtual bool CircuitBreakerForceClosed { get; set; }

Property Value

bool

CircuitBreakerForceOpen

public virtual bool CircuitBreakerForceOpen { get; set; }

Property Value

bool

CircuitBreakerRequestVolumeThreshold

public virtual int CircuitBreakerRequestVolumeThreshold { get; set; }

Property Value

int

CircuitBreakerSleepWindowInMilliseconds

public virtual int CircuitBreakerSleepWindowInMilliseconds { get; set; }

Property Value

int

CommandKey

public IHystrixCommandKey CommandKey { get; set; }

Property Value

IHystrixCommandKey

ExecutionIsolationSemaphoreMaxConcurrentRequests

public virtual int ExecutionIsolationSemaphoreMaxConcurrentRequests { get; set; }

Property Value

int

ExecutionIsolationStrategy

public virtual ExecutionIsolationStrategy ExecutionIsolationStrategy { get; set; }

Property Value

ExecutionIsolationStrategy

ExecutionIsolationThreadPoolKeyOverride

public virtual string ExecutionIsolationThreadPoolKeyOverride { get; set; }

Property Value

string

ExecutionTimeoutEnabled

public virtual bool ExecutionTimeoutEnabled { get; set; }

Property Value

bool

ExecutionTimeoutInMilliseconds

public virtual int ExecutionTimeoutInMilliseconds { get; set; }

Property Value

int

FallbackEnabled

public virtual bool FallbackEnabled { get; set; }

Property Value

bool

FallbackIsolationSemaphoreMaxConcurrentRequests

public virtual int FallbackIsolationSemaphoreMaxConcurrentRequests { get; set; }

Property Value

int

GroupKey

public IHystrixCommandGroupKey GroupKey { get; set; }

Property Value

IHystrixCommandGroupKey

MetricsHealthSnapshotIntervalInMilliseconds

public virtual int MetricsHealthSnapshotIntervalInMilliseconds { get; set; }

Property Value

int

MetricsRollingPercentileBucketSize

public virtual int MetricsRollingPercentileBucketSize { get; set; }

Property Value

int

MetricsRollingPercentileEnabled

public virtual bool MetricsRollingPercentileEnabled { get; set; }

Property Value

bool

MetricsRollingPercentileWindow

public virtual int MetricsRollingPercentileWindow { get; set; }

Property Value

int

MetricsRollingPercentileWindowBuckets

public virtual int MetricsRollingPercentileWindowBuckets { get; set; }

Property Value

int

MetricsRollingPercentileWindowInMilliseconds

public virtual int MetricsRollingPercentileWindowInMilliseconds { get; set; }

Property Value

int

MetricsRollingStatisticalWindowBuckets

public virtual int MetricsRollingStatisticalWindowBuckets { get; set; }

Property Value

int

MetricsRollingStatisticalWindowInMilliseconds

public virtual int MetricsRollingStatisticalWindowInMilliseconds { get; set; }

Property Value

int

RequestCacheEnabled

public virtual bool RequestCacheEnabled { get; set; }

Property Value

bool

RequestLogEnabled

public virtual bool RequestLogEnabled { get; set; }

Property Value

bool

ThreadPoolKey

public IHystrixThreadPoolKey ThreadPoolKey { get; set; }

Property Value

IHystrixThreadPoolKey

ThreadPoolOptions

public virtual IHystrixThreadPoolOptions ThreadPoolOptions { get; set; }

Property Value

IHystrixThreadPoolOptions