Class HystrixCollapserMetrics
Inheritance
System.Object
HystrixCollapserMetrics
Assembly: Steeltoe.CircuitBreaker.HystrixBase.dll
Syntax
public class HystrixCollapserMetrics : HystrixMetrics
Properties
|
Edit this page
View Source
AppendEventToBucket
Declaration
public static Func<long[], HystrixCollapserEvent, long[]> AppendEventToBucket { get; }
Property Value
|
Edit this page
View Source
BatchSizeMean
Declaration
public int BatchSizeMean { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
BucketAggregator
Declaration
public static Func<long[], long[], long[]> BucketAggregator { get; }
Property Value
Type |
Description |
Func<System.Int64[], System.Int64[], System.Int64[]> |
|
|
Edit this page
View Source
CollapserKey
Declaration
public IHystrixCollapserKey CollapserKey { get; }
Property Value
|
Edit this page
View Source
Properties
Declaration
public IHystrixCollapserOptions Properties { get; }
Property Value
|
Edit this page
View Source
ShardSizeMean
Declaration
public int ShardSizeMean { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Edit this page
View Source
GetBatchSizePercentile(Double)
Declaration
public int GetBatchSizePercentile(double percentile)
Parameters
Type |
Name |
Description |
System.Double |
percentile |
|
Returns
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
GetCumulativeCount(CollapserEventType)
Declaration
public long GetCumulativeCount(CollapserEventType collapserEventType)
Parameters
Returns
Type |
Description |
System.Int64 |
|
|
Edit this page
View Source
GetCumulativeCount(HystrixRollingNumberEvent)
Declaration
public override long GetCumulativeCount(HystrixRollingNumberEvent event)
Parameters
Returns
Type |
Description |
System.Int64 |
|
Overrides
|
Edit this page
View Source
GetInstance(IHystrixCollapserKey, IHystrixCollapserOptions)
Declaration
public static HystrixCollapserMetrics GetInstance(IHystrixCollapserKey key, IHystrixCollapserOptions properties)
Parameters
Returns
|
Edit this page
View Source
GetInstances()
Declaration
public static ICollection<HystrixCollapserMetrics> GetInstances()
Returns
|
Edit this page
View Source
GetRollingCount(CollapserEventType)
Declaration
public long GetRollingCount(CollapserEventType collapserEventType)
Parameters
Returns
Type |
Description |
System.Int64 |
|
|
Edit this page
View Source
GetRollingCount(HystrixRollingNumberEvent)
Declaration
public override long GetRollingCount(HystrixRollingNumberEvent event)
Parameters
Returns
Type |
Description |
System.Int64 |
|
Overrides
|
Edit this page
View Source
GetShardSizePercentile(Double)
Declaration
public int GetShardSizePercentile(double percentile)
Parameters
Type |
Name |
Description |
System.Double |
percentile |
|
Returns
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
MarkBatch(Int32)
Declaration
public void MarkBatch(int batchSize)
Parameters
Type |
Name |
Description |
System.Int32 |
batchSize |
|
|
Edit this page
View Source
MarkRequestBatched()
Declaration
public void MarkRequestBatched()
|
Edit this page
View Source
MarkResponseFromCache()
Declaration
public void MarkResponseFromCache()
|
Edit this page
View Source
MarkShards(Int32)
Declaration
public void MarkShards(int numShards)
Parameters
Type |
Name |
Description |
System.Int32 |
numShards |
|