public enum FlushStrategy extends java.lang.Enum<FlushStrategy>
Enum Constant and Description |
---|
ALL_CONNECTIONS
All connections
|
ALL_GRACEFULLY
All gracefully
|
ALL_IDLE_CONNECTIONS
All idle connections
|
ALL_INVALID_IDLE_CONNECTIONS
All invalid idle connections
|
ENTIRE_POOL
Entire pool
|
FAILING_CONNECTION_ONLY
Failing connection only (default)
|
GRACEFULLY
Gracefully
|
IDLE_CONNECTIONS
Idle connections
|
INVALID_IDLE_CONNECTIONS
Invalid 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 INVALID_IDLE_CONNECTIONS
public static final FlushStrategy IDLE_CONNECTIONS
public static final FlushStrategy GRACEFULLY
public static final FlushStrategy ENTIRE_POOL
public static final FlushStrategy ALL_INVALID_IDLE_CONNECTIONS
public static final FlushStrategy ALL_IDLE_CONNECTIONS
public static final FlushStrategy ALL_GRACEFULLY
public static final FlushStrategy ALL_CONNECTIONS
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 © 2013 IronJacamar (http://www.ironjacamar.org)