| Package | Description |
|---|---|
| oracle.ucp |
| Modifier and Type | Method and Description |
|---|---|
static UniversalPooledConnection.ValidationType |
UniversalPooledConnection.ValidationType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UniversalPooledConnection.ValidationType[] |
UniversalPooledConnection.ValidationType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
default boolean |
UniversalPooledConnection.isValid(UniversalPooledConnection.ValidationType validationType)
Checks whether or not the connection is valid with a default timeout.
|
default boolean |
UniversalPooledConnection.isValid(UniversalPooledConnection.ValidationType validationType,
int timeout)
Checks whether or not the connection is valid with a timeout.
|
default void |
UniversalPooledConnection.validate(UniversalPooledConnection.ValidationType validationType,
int timeout)
Validates this connection and sets corresponding status on this
connection.
|