public static enum HystrixEventType.ThreadPool extends java.lang.Enum<HystrixEventType.ThreadPool>
Modifier and Type | Method and Description |
---|---|
static HystrixEventType.ThreadPool |
from(HystrixEventType eventType) |
static HystrixEventType.ThreadPool |
from(com.netflix.hystrix.util.HystrixRollingNumberEvent event) |
static HystrixEventType.ThreadPool |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HystrixEventType.ThreadPool[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HystrixEventType.ThreadPool EXECUTED
public static final HystrixEventType.ThreadPool REJECTED
public static HystrixEventType.ThreadPool[] values()
for (HystrixEventType.ThreadPool c : HystrixEventType.ThreadPool.values()) System.out.println(c);
public static HystrixEventType.ThreadPool 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.ThreadPool from(com.netflix.hystrix.util.HystrixRollingNumberEvent event)
public static HystrixEventType.ThreadPool from(HystrixEventType eventType)