public static enum ConnectionPoolConnection.ForceRealClosePolicy extends java.lang.Enum<ConnectionPoolConnection.ForceRealClosePolicy>
| Enum Constant and Description |
|---|
CONNECTION
Closes the connection on force real close.
|
CONNECTION_WITH_LIMIT
Closes the connection on force real close with a time limit.
|
NONE
Do nothing.
|
STATEMENTS_AND_CONNECTION
Attempts to close all open statements before connection on force real close.
|
| Modifier and Type | Method and Description |
|---|---|
static ConnectionPoolConnection.ForceRealClosePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionPoolConnection.ForceRealClosePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionPoolConnection.ForceRealClosePolicy CONNECTION
public static final ConnectionPoolConnection.ForceRealClosePolicy CONNECTION_WITH_LIMIT
If the connection close fails to complete, the connection is left in an undefined state.
public static final ConnectionPoolConnection.ForceRealClosePolicy STATEMENTS_AND_CONNECTION
public static final ConnectionPoolConnection.ForceRealClosePolicy NONE
public static ConnectionPoolConnection.ForceRealClosePolicy[] values()
for (ConnectionPoolConnection.ForceRealClosePolicy c : ConnectionPoolConnection.ForceRealClosePolicy.values()) System.out.println(c);
public static ConnectionPoolConnection.ForceRealClosePolicy 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 null