public static enum HystrixEventType.Collapser extends java.lang.Enum<HystrixEventType.Collapser>
Enum Constant and Description |
---|
ADDED_TO_BATCH |
BATCH_EXECUTED |
RESPONSE_FROM_CACHE |
Modifier and Type | Method and Description |
---|---|
static HystrixEventType.Collapser |
from(com.netflix.hystrix.util.HystrixRollingNumberEvent event) |
static HystrixEventType.Collapser |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HystrixEventType.Collapser[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HystrixEventType.Collapser ADDED_TO_BATCH
public static final HystrixEventType.Collapser BATCH_EXECUTED
public static final HystrixEventType.Collapser RESPONSE_FROM_CACHE
public static HystrixEventType.Collapser[] values()
for (HystrixEventType.Collapser c : HystrixEventType.Collapser.values()) System.out.println(c);
public static HystrixEventType.Collapser valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static HystrixEventType.Collapser from(com.netflix.hystrix.util.HystrixRollingNumberEvent event)