Package oracle.ucp
Enum UniversalPooledConnection.ValidationType
- java.lang.Object
-
- java.lang.Enum<UniversalPooledConnection.ValidationType>
-
- oracle.ucp.UniversalPooledConnection.ValidationType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UniversalPooledConnection.ValidationType>
- Enclosing interface:
- UniversalPooledConnection
public static enum UniversalPooledConnection.ValidationType extends java.lang.Enum<UniversalPooledConnection.ValidationType>
Validation same as inOracleConnection.ConnectionValidation
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UniversalPooledConnection.ValidationType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UniversalPooledConnection.ValidationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final UniversalPooledConnection.ValidationType NONE
-
LOCAL
public static final UniversalPooledConnection.ValidationType LOCAL
-
INBAND_DOWN
public static final UniversalPooledConnection.ValidationType INBAND_DOWN
-
SOCKET
public static final UniversalPooledConnection.ValidationType SOCKET
-
NETWORK
public static final UniversalPooledConnection.ValidationType NETWORK
-
SERVER
public static final UniversalPooledConnection.ValidationType SERVER
-
COMPLETE
public static final UniversalPooledConnection.ValidationType COMPLETE
-
-
Method Detail
-
values
public static UniversalPooledConnection.ValidationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UniversalPooledConnection.ValidationType c : UniversalPooledConnection.ValidationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UniversalPooledConnection.ValidationType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-