|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<FlushStrategy>
org.jboss.jca.common.api.metadata.common.FlushStrategy
public enum FlushStrategy

Flush strategy for the pools
| Enum Constant Summary | |
|---|---|
ENTIRE_POOL
Entire pool |
|
FAILING_CONNECTION_ONLY
Failing connection only (default) |
|
IDLE_CONNECTIONS
Idle connections |
|
UNKNOWN
Unknown |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final FlushStrategy UNKNOWN
public static final FlushStrategy FAILING_CONNECTION_ONLY
public static final FlushStrategy IDLE_CONNECTIONS
public static final FlushStrategy ENTIRE_POOL
| Method Detail |
|---|
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 name
NullPointerException - if the argument is nullpublic String getName()
public String toString()
toString in class Enum<FlushStrategy>public static FlushStrategy forName(String name)
name - The strategy name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||