public static enum Bulkhead.Type extends java.lang.Enum<Bulkhead.Type>
SEMAPHORE will invoke semaphore based bulkhead implementation THREADPOOL will invoke Thread pool based bulkhead implementation
| Enum Constant and Description |
|---|
SEMAPHORE |
THREADPOOL |
| Modifier and Type | Method and Description |
|---|---|
static Bulkhead.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Bulkhead.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bulkhead.Type SEMAPHORE
public static final Bulkhead.Type THREADPOOL
public static Bulkhead.Type[] values()
for (Bulkhead.Type c : Bulkhead.Type.values()) System.out.println(c);
public static Bulkhead.Type 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 null