Package | Description |
---|---|
com.netflix.hystrix |
Core functionality of Hystrix including the HystrixCommand and HystrixCollapser to be extended from.
|
com.netflix.hystrix.util |
Common utility classes.
|
Modifier and Type | Method and Description |
---|---|
long |
HystrixMetrics.getCumulativeCount(HystrixRollingNumberEvent event)
Get the cumulative count since the start of the application for the given
HystrixRollingNumberEvent . |
long |
HystrixMetrics.getRollingCount(HystrixRollingNumberEvent event)
Get the rolling count for the given
HystrixRollingNumberEvent . |
Modifier and Type | Method and Description |
---|---|
static HystrixRollingNumberEvent |
HystrixRollingNumberEvent.from(HystrixEventType eventType) |
static HystrixRollingNumberEvent |
HystrixRollingNumberEvent.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HystrixRollingNumberEvent[] |
HystrixRollingNumberEvent.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
HystrixRollingNumber.add(HystrixRollingNumberEvent type,
long value)
Add to the counter in the current bucket for the given
HystrixRollingNumberEvent type. |
long |
HystrixRollingNumber.getCumulativeSum(HystrixRollingNumberEvent type)
Get the cumulative sum of all buckets ever since the JVM started without rolling for the given
HystrixRollingNumberEvent type. |
long |
HystrixRollingNumber.getRollingMaxValue(HystrixRollingNumberEvent type)
Get the max value of values in all buckets for the given
HystrixRollingNumberEvent type. |
long |
HystrixRollingNumber.getRollingSum(HystrixRollingNumberEvent type)
Get the sum of all buckets in the rolling counter for the given
HystrixRollingNumberEvent type. |
long |
HystrixRollingNumber.getValueOfLatestBucket(HystrixRollingNumberEvent type)
Get the value of the latest (current) bucket in the rolling counter for the given
HystrixRollingNumberEvent type. |
long[] |
HystrixRollingNumber.getValues(HystrixRollingNumberEvent type)
Get an array of values for all buckets in the rolling counter for the given
HystrixRollingNumberEvent type. |
void |
HystrixRollingNumber.increment(HystrixRollingNumberEvent type)
Increment the counter in the current bucket by one for the given
HystrixRollingNumberEvent type. |
void |
HystrixRollingNumber.updateRollingMax(HystrixRollingNumberEvent type,
long value)
Update a value and retain the max value.
|
Copyright © 2015. All Rights Reserved.