public enum HystrixEventType extends java.lang.Enum<HystrixEventType>
These are most often accessed via HystrixRequestLog or AbstractCommand.getExecutionEvents().
| Modifier and Type | Class and Description |
|---|---|
static class |
HystrixEventType.Collapser |
static class |
HystrixEventType.ThreadPool |
| Enum Constant and Description |
|---|
BAD_REQUEST |
CANCELLED |
COLLAPSED |
EMIT |
EXCEPTION_THROWN |
FAILURE |
FALLBACK_EMIT |
FALLBACK_FAILURE |
FALLBACK_MISSING |
FALLBACK_REJECTION |
FALLBACK_SUCCESS |
RESPONSE_FROM_CACHE |
SEMAPHORE_REJECTED |
SHORT_CIRCUITED |
SUCCESS |
THREAD_POOL_REJECTED |
TIMEOUT |
| Modifier and Type | Field and Description |
|---|---|
static java.util.List<HystrixEventType> |
EXCEPTION_PRODUCING_EVENT_TYPES
List of events that throw an Exception to the caller
|
| Modifier and Type | Method and Description |
|---|---|
static HystrixEventType |
from(com.netflix.hystrix.util.HystrixRollingNumberEvent event) |
boolean |
isTerminal() |
static HystrixEventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HystrixEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HystrixEventType BAD_REQUEST
public static final HystrixEventType CANCELLED
public static final HystrixEventType COLLAPSED
public static final HystrixEventType EMIT
public static final HystrixEventType EXCEPTION_THROWN
public static final HystrixEventType FAILURE
public static final HystrixEventType FALLBACK_EMIT
public static final HystrixEventType FALLBACK_FAILURE
public static final HystrixEventType FALLBACK_MISSING
public static final HystrixEventType FALLBACK_REJECTION
public static final HystrixEventType FALLBACK_SUCCESS
public static final HystrixEventType RESPONSE_FROM_CACHE
public static final HystrixEventType SEMAPHORE_REJECTED
public static final HystrixEventType SHORT_CIRCUITED
public static final HystrixEventType SUCCESS
public static final HystrixEventType THREAD_POOL_REJECTED
public static final HystrixEventType TIMEOUT
public static final java.util.List<HystrixEventType> EXCEPTION_PRODUCING_EVENT_TYPES
public static HystrixEventType[] values()
for (HystrixEventType c : HystrixEventType.values()) System.out.println(c);
public static HystrixEventType 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 boolean isTerminal()
public static HystrixEventType from(com.netflix.hystrix.util.HystrixRollingNumberEvent event)