Table of Contents

Class HystrixCommandMetrics

Namespace
Steeltoe.CircuitBreaker.Hystrix
Assembly
Steeltoe.CircuitBreaker.HystrixBase.dll
public class HystrixCommandMetrics : HystrixMetrics
Inheritance
HystrixCommandMetrics
Inherited Members

Properties

AppendEventToBucket

public static Func<long[], HystrixCommandCompletion, long[]> AppendEventToBucket { get; }

Property Value

Func<long[], HystrixCommandCompletion, long[]>

BucketAggregator

public static Func<long[], long[], long[]> BucketAggregator { get; }

Property Value

Func<long[], long[], long[]>

CommandGroup

public IHystrixCommandGroupKey CommandGroup { get; }

Property Value

IHystrixCommandGroupKey

CommandKey

public IHystrixCommandKey CommandKey { get; }

Property Value

IHystrixCommandKey

CurrentConcurrentExecutionCount

public int CurrentConcurrentExecutionCount { get; }

Property Value

int

ExecutionTimeMean

public int ExecutionTimeMean { get; }

Property Value

int

Healthcounts

public HealthCounts Healthcounts { get; }

Property Value

HealthCounts

Properties

public IHystrixCommandOptions Properties { get; }

Property Value

IHystrixCommandOptions

RollingMaxConcurrentExecutions

public long RollingMaxConcurrentExecutions { get; }

Property Value

long

ThreadPoolKey

public IHystrixThreadPoolKey ThreadPoolKey { get; }

Property Value

IHystrixThreadPoolKey

TotalTimeMean

public int TotalTimeMean { get; }

Property Value

int

Methods

GetCumulativeCount(HystrixEventType)

public long GetCumulativeCount(HystrixEventType eventType)

Parameters

eventType HystrixEventType

Returns

long

GetCumulativeCount(HystrixRollingNumberEvent)

public override long GetCumulativeCount(HystrixRollingNumberEvent @event)

Parameters

event HystrixRollingNumberEvent

Returns

long

GetExecutionTimePercentile(double)

public int GetExecutionTimePercentile(double percentile)

Parameters

percentile double

Returns

int

GetInstance(IHystrixCommandKey)

public static HystrixCommandMetrics GetInstance(IHystrixCommandKey key)

Parameters

key IHystrixCommandKey

Returns

HystrixCommandMetrics

GetInstance(IHystrixCommandKey, IHystrixCommandGroupKey, IHystrixCommandOptions)

public static HystrixCommandMetrics GetInstance(IHystrixCommandKey key, IHystrixCommandGroupKey commandGroup, IHystrixCommandOptions properties)

Parameters

key IHystrixCommandKey
commandGroup IHystrixCommandGroupKey
properties IHystrixCommandOptions

Returns

HystrixCommandMetrics

GetInstance(IHystrixCommandKey, IHystrixCommandGroupKey, IHystrixThreadPoolKey, IHystrixCommandOptions)

public static HystrixCommandMetrics GetInstance(IHystrixCommandKey key, IHystrixCommandGroupKey commandGroup, IHystrixThreadPoolKey threadPoolKey, IHystrixCommandOptions properties)

Parameters

key IHystrixCommandKey
commandGroup IHystrixCommandGroupKey
threadPoolKey IHystrixThreadPoolKey
properties IHystrixCommandOptions

Returns

HystrixCommandMetrics

GetInstances()

public static ICollection<HystrixCommandMetrics> GetInstances()

Returns

ICollection<HystrixCommandMetrics>

GetRollingCount(HystrixEventType)

public long GetRollingCount(HystrixEventType eventType)

Parameters

eventType HystrixEventType

Returns

long

GetRollingCount(HystrixRollingNumberEvent)

public override long GetRollingCount(HystrixRollingNumberEvent @event)

Parameters

event HystrixRollingNumberEvent

Returns

long

GetTotalTimePercentile(double)

public int GetTotalTimePercentile(double percentile)

Parameters

percentile double

Returns

int