Table of Contents

Class HystrixCollapserMetrics

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

Properties

AppendEventToBucket

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

Property Value

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

BatchSizeMean

public int BatchSizeMean { get; }

Property Value

int

BucketAggregator

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

Property Value

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

CollapserKey

public IHystrixCollapserKey CollapserKey { get; }

Property Value

IHystrixCollapserKey

Properties

public IHystrixCollapserOptions Properties { get; }

Property Value

IHystrixCollapserOptions

ShardSizeMean

public int ShardSizeMean { get; }

Property Value

int

Methods

GetBatchSizePercentile(double)

public int GetBatchSizePercentile(double percentile)

Parameters

percentile double

Returns

int

GetCumulativeCount(CollapserEventType)

public long GetCumulativeCount(CollapserEventType collapserEventType)

Parameters

collapserEventType CollapserEventType

Returns

long

GetCumulativeCount(HystrixRollingNumberEvent)

public override long GetCumulativeCount(HystrixRollingNumberEvent @event)

Parameters

event HystrixRollingNumberEvent

Returns

long

GetInstance(IHystrixCollapserKey, IHystrixCollapserOptions)

public static HystrixCollapserMetrics GetInstance(IHystrixCollapserKey key, IHystrixCollapserOptions properties)

Parameters

key IHystrixCollapserKey
properties IHystrixCollapserOptions

Returns

HystrixCollapserMetrics

GetInstances()

public static ICollection<HystrixCollapserMetrics> GetInstances()

Returns

ICollection<HystrixCollapserMetrics>

GetRollingCount(CollapserEventType)

public long GetRollingCount(CollapserEventType collapserEventType)

Parameters

collapserEventType CollapserEventType

Returns

long

GetRollingCount(HystrixRollingNumberEvent)

public override long GetRollingCount(HystrixRollingNumberEvent @event)

Parameters

event HystrixRollingNumberEvent

Returns

long

GetShardSizePercentile(double)

public int GetShardSizePercentile(double percentile)

Parameters

percentile double

Returns

int

MarkBatch(int)

public void MarkBatch(int batchSize)

Parameters

batchSize int

MarkRequestBatched()

public void MarkRequestBatched()

MarkResponseFromCache()

public void MarkResponseFromCache()

MarkShards(int)

public void MarkShards(int numShards)

Parameters

numShards int