public enum HystrixEventType extends Enum<HystrixEventType>
These are most often accessed via HystrixRequestLog
or AbstractCommand.getExecutionEvents()
.
Enum Constant and Description |
---|
BAD_REQUEST |
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 | Method and Description |
---|---|
boolean |
isTerminal() |
static HystrixEventType |
valueOf(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 EMIT
public static final HystrixEventType SUCCESS
public static final HystrixEventType FAILURE
public static final HystrixEventType TIMEOUT
public static final HystrixEventType SHORT_CIRCUITED
public static final HystrixEventType THREAD_POOL_REJECTED
public static final HystrixEventType SEMAPHORE_REJECTED
public static final HystrixEventType FALLBACK_EMIT
public static final HystrixEventType FALLBACK_SUCCESS
public static final HystrixEventType FALLBACK_FAILURE
public static final HystrixEventType FALLBACK_REJECTION
public static final HystrixEventType FALLBACK_MISSING
public static final HystrixEventType EXCEPTION_THROWN
public static final HystrixEventType RESPONSE_FROM_CACHE
public static final HystrixEventType COLLAPSED
public static final HystrixEventType BAD_REQUEST
public static HystrixEventType[] values()
for (HystrixEventType c : HystrixEventType.values()) System.out.println(c);
public static HystrixEventType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isTerminal()
Copyright © 2017. All Rights Reserved.