Package | Description |
---|---|
oracle.ucp |
Includes both required and optional callback interfaces that are used to implement connection pool features.
|
Modifier and Type | Field and Description |
---|---|
static UniversalPooledConnectionStatus |
UniversalPooledConnectionStatus.STATUS_BAD
The pooled connection's status is bad.
|
static UniversalPooledConnectionStatus |
UniversalPooledConnectionStatus.STATUS_CLOSE_ON_RETURN
The pooled connection should be closed and not put back into the pool when it is returned by the borrower.
|
static UniversalPooledConnectionStatus |
UniversalPooledConnectionStatus.STATUS_CLOSED
The pooled connection's status is closed.
|
static UniversalPooledConnectionStatus |
UniversalPooledConnectionStatus.STATUS_NORMAL
The pooled connection's status is normal.
|
static UniversalPooledConnectionStatus |
UniversalPooledConnectionStatus.STATUS_RECONNECTING
The pooled connection's status is reconnecting.
|
static UniversalPooledConnectionStatus |
UniversalPooledConnectionStatus.STATUS_REPLACE_ON_RETURN
The pooled connection should be closed and replaced with a brand new connection in the pool when it is returned by the borrower.
|
Modifier and Type | Method and Description |
---|---|
UniversalPooledConnectionStatus |
UniversalPooledConnection.getStatus()
Gets the status of the pooled connection.
|
Modifier and Type | Method and Description |
---|---|
void |
UniversalPooledConnection.setStatus(UniversalPooledConnectionStatus status)
Sets the status of the pooled connection.
|