public enum UniversalConnectionPoolLifeCycleState extends java.lang.Enum<UniversalConnectionPoolLifeCycleState>
UniversalConnectionPool| Enum Constant and Description |
|---|
LIFE_CYCLE_FAILED |
LIFE_CYCLE_RUNNING |
LIFE_CYCLE_STARTING |
LIFE_CYCLE_STOPPED |
LIFE_CYCLE_STOPPING |
| Modifier and Type | Method and Description |
|---|---|
boolean |
in(UniversalConnectionPoolLifeCycleState... states)
Cecks if this enum is one of given enums
|
java.lang.String |
toString() |
static UniversalConnectionPoolLifeCycleState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UniversalConnectionPoolLifeCycleState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UniversalConnectionPoolLifeCycleState LIFE_CYCLE_STARTING
public static final UniversalConnectionPoolLifeCycleState LIFE_CYCLE_RUNNING
public static final UniversalConnectionPoolLifeCycleState LIFE_CYCLE_STOPPING
public static final UniversalConnectionPoolLifeCycleState LIFE_CYCLE_STOPPED
public static final UniversalConnectionPoolLifeCycleState LIFE_CYCLE_FAILED
public static UniversalConnectionPoolLifeCycleState[] values()
for (UniversalConnectionPoolLifeCycleState c : UniversalConnectionPoolLifeCycleState.values()) System.out.println(c);
public static UniversalConnectionPoolLifeCycleState 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 java.lang.String toString()
toString in class java.lang.Enum<UniversalConnectionPoolLifeCycleState>public boolean in(UniversalConnectionPoolLifeCycleState... states)
states - given enums