Class HystrixRollingNumber
- Namespace
- Steeltoe.CircuitBreaker.Hystrix.Util
- Assembly
- Steeltoe.CircuitBreaker.HystrixBase.dll
public class HystrixRollingNumber
- Inheritance
-
HystrixRollingNumber
- Inherited Members
Constructors
HystrixRollingNumber(int, int)
public HystrixRollingNumber(int timeInMilliseconds, int numberOfBuckets)
Parameters
Methods
Add(HystrixRollingNumberEvent, long)
public void Add(HystrixRollingNumberEvent type, long value)
Parameters
type
HystrixRollingNumberEventvalue
long
GetCumulativeSum(HystrixRollingNumberEvent)
public long GetCumulativeSum(HystrixRollingNumberEvent type)
Parameters
Returns
GetRollingMaxValue(HystrixRollingNumberEvent)
public long GetRollingMaxValue(HystrixRollingNumberEvent type)
Parameters
Returns
GetRollingSum(HystrixRollingNumberEvent)
public long GetRollingSum(HystrixRollingNumberEvent type)
Parameters
Returns
GetValueOfLatestBucket(HystrixRollingNumberEvent)
public long GetValueOfLatestBucket(HystrixRollingNumberEvent type)
Parameters
Returns
GetValues(HystrixRollingNumberEvent)
public long[] GetValues(HystrixRollingNumberEvent type)
Parameters
Returns
- long[]
Increment(HystrixRollingNumberEvent)
public void Increment(HystrixRollingNumberEvent type)
Parameters
Reset()
public void Reset()
UpdateRollingMax(HystrixRollingNumberEvent, long)
public void UpdateRollingMax(HystrixRollingNumberEvent type, long value)
Parameters
type
HystrixRollingNumberEventvalue
long