Class HystrixRollingNumber
Inheritance
System.Object
HystrixRollingNumber
Assembly: Steeltoe.CircuitBreaker.HystrixBase.dll
Syntax
public class HystrixRollingNumber : object
Constructors
|
Edit this page
View Source
HystrixRollingNumber(Int32, Int32)
Declaration
public HystrixRollingNumber(int timeInMilliseconds, int numberOfBuckets)
Parameters
Type |
Name |
Description |
System.Int32 |
timeInMilliseconds |
|
System.Int32 |
numberOfBuckets |
|
Methods
|
Edit this page
View Source
Add(HystrixRollingNumberEvent, Int64)
Declaration
public void Add(HystrixRollingNumberEvent type, long value)
Parameters
|
Edit this page
View Source
GetCumulativeSum(HystrixRollingNumberEvent)
Declaration
public long GetCumulativeSum(HystrixRollingNumberEvent type)
Parameters
Returns
Type |
Description |
System.Int64 |
|
|
Edit this page
View Source
GetRollingMaxValue(HystrixRollingNumberEvent)
Declaration
public long GetRollingMaxValue(HystrixRollingNumberEvent type)
Parameters
Returns
Type |
Description |
System.Int64 |
|
|
Edit this page
View Source
GetRollingSum(HystrixRollingNumberEvent)
Declaration
public long GetRollingSum(HystrixRollingNumberEvent type)
Parameters
Returns
Type |
Description |
System.Int64 |
|
|
Edit this page
View Source
GetValueOfLatestBucket(HystrixRollingNumberEvent)
Declaration
public long GetValueOfLatestBucket(HystrixRollingNumberEvent type)
Parameters
Returns
Type |
Description |
System.Int64 |
|
|
Edit this page
View Source
GetValues(HystrixRollingNumberEvent)
Declaration
public long[] GetValues(HystrixRollingNumberEvent type)
Parameters
Returns
Type |
Description |
System.Int64[] |
|
|
Edit this page
View Source
Increment(HystrixRollingNumberEvent)
Declaration
public void Increment(HystrixRollingNumberEvent type)
Parameters
|
Edit this page
View Source
Reset()
Declaration
|
Edit this page
View Source
UpdateRollingMax(HystrixRollingNumberEvent, Int64)
Declaration
public void UpdateRollingMax(HystrixRollingNumberEvent type, long value)
Parameters