
public enum FlushStrategy extends 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(String name)
Static method to get enum instance given localName XsdString
|
String |
getName()
Get the name of this element.
|
String |
toString() |
static FlushStrategy |
valueOf(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(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 String getName()
public String toString()
toString in class Enum<FlushStrategy>public static FlushStrategy forName(String name)
name - The strategy nameCopyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)