public enum FlushStrategy extends java.lang.Enum<FlushStrategy>
Enum Constant and Description |
---|
ENTIRE_POOL
Entire pool
|
FAILING_CONNECTION_ONLY
Failing connection only (default)
|
IDLE_CONNECTIONS
Idle connections
|
UNKNOWN
Unknown
|
Modifier and Type | Method and Description |
---|---|
static FlushStrategy |
forName(java.lang.String name)
Static method to get enum instance given localName XsdString
|
java.lang.String |
getName()
Get the name of this element.
|
java.lang.String |
toString() |
static FlushStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FlushStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlushStrategy UNKNOWN
public static final FlushStrategy FAILING_CONNECTION_ONLY
public static final FlushStrategy IDLE_CONNECTIONS
public static final FlushStrategy ENTIRE_POOL
public static FlushStrategy[] values()
for (FlushStrategy c : FlushStrategy.values()) System.out.println(c);
public static FlushStrategy 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 getName()
public java.lang.String toString()
toString
in class java.lang.Enum<FlushStrategy>
public static FlushStrategy forName(java.lang.String name)
name
- The strategy nameCopyright ? 2008 Red Hat Middleware LLC (http://www.jboss.com/)