Interface IHystrixConfigurationService
Namespace: Hystrix.Dotnet
Assembly: Hystrix.Dotnet.dll
Syntax
public interface IHystrixConfigurationService
Methods
| Improve this Doc View SourceGetCircuitBreakerErrorThresholdPercentage()
Returns the percentage of errors at which to trip the circuit breaker for the command the instances is tied to
Declaration
int GetCircuitBreakerErrorThresholdPercentage()
Returns
Type | Description |
---|---|
System.Int32 |
GetCircuitBreakerForcedClosed()
Returns whether the circuit breaker is forced closed for the command the instances is tied to
Declaration
bool GetCircuitBreakerForcedClosed()
Returns
Type | Description |
---|---|
System.Boolean |
GetCircuitBreakerForcedOpen()
Returns whether the circuit breaker is forced open for the command the instances is tied to
Declaration
bool GetCircuitBreakerForcedOpen()
Returns
Type | Description |
---|---|
System.Boolean |
GetCircuitBreakerRequestVolumeThreshold()
Returns the number of requests required for the circuit breaker to become active
Declaration
int GetCircuitBreakerRequestVolumeThreshold()
Returns
Type | Description |
---|---|
System.Int32 |
GetCircuitBreakerSleepWindowInMilliseconds()
Returns the number of milliseconds to sleep before letting a canary request through an open circuit breaker
Declaration
int GetCircuitBreakerSleepWindowInMilliseconds()
Returns
Type | Description |
---|---|
System.Int32 |
GetCommandTimeoutInMilliseconds()
Returns the timeout value for the command the instances is tied to
Declaration
int GetCommandTimeoutInMilliseconds()
Returns
Type | Description |
---|---|
System.Int32 |
GetHystrixCommandEnabled()
Indicates whether hystrix command logic is enabled or not
Declaration
bool GetHystrixCommandEnabled()
Returns
Type | Description |
---|---|
System.Boolean |
GetMetricsHealthSnapshotIntervalInMilliseconds()
Returns the snapshot interval for tracking health metrics
Declaration
int GetMetricsHealthSnapshotIntervalInMilliseconds()
Returns
Type | Description |
---|---|
System.Int32 |
GetMetricsRollingPercentileBucketSize()
The maximum number of response times are collected in a single bucket; if more requests happen the earlier recorded values are overwritten
Declaration
int GetMetricsRollingPercentileBucketSize()
Returns
Type | Description |
---|---|
System.Int32 |
GetMetricsRollingPercentileEnabled()
Indicates whether percentile metrics are collected
Declaration
bool GetMetricsRollingPercentileEnabled()
Returns
Type | Description |
---|---|
System.Boolean |
GetMetricsRollingPercentileWindowBuckets()
The number of buckets that sliding window is split into
Declaration
int GetMetricsRollingPercentileWindowBuckets()
Returns
Type | Description |
---|---|
System.Int32 |
GetMetricsRollingPercentileWindowInMilliseconds()
The total sliding window over which percentiles are collected
Declaration
int GetMetricsRollingPercentileWindowInMilliseconds()
Returns
Type | Description |
---|---|
System.Int32 |
GetMetricsRollingStatisticalWindowBuckets()
The number of buckets the time during which stats are tracked is divided in
Declaration
int GetMetricsRollingStatisticalWindowBuckets()
Returns
Type | Description |
---|---|
System.Int32 |
GetMetricsRollingStatisticalWindowInMilliseconds()
The number of milliseconds to keep track of stats
Declaration
int GetMetricsRollingStatisticalWindowInMilliseconds()
Returns
Type | Description |
---|---|
System.Int32 |