Package oracle.ucp
Class UniversalPooledConnectionStatus
java.lang.Object
oracle.ucp.UniversalPooledConnectionStatus
Describes the status of a pooled connection.
The status of the pooled connection is looked at when the connection
is returned by the borrower. If the status is normal, then the pooled
connection is processed normally. If the status is
close on return, then the pooled connection is automatically
closed and it is not returned to the connection pool.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UniversalPooledConnectionStatusThe pooled connection's status is bad.static final Stringstatic final UniversalPooledConnectionStatusThe pooled connection should be closed and not put back into the pool when it is returned by the borrower.static final Stringstatic final UniversalPooledConnectionStatusThe pooled connection's status is closed.static final Stringstatic final UniversalPooledConnectionStatusThe pooled connection's status is normal.static final Stringstatic final UniversalPooledConnectionStatusThe pooled connection's status is reconnecting.static final Stringstatic final UniversalPooledConnectionStatusThe pooled connection should be closed and replaced with a brand new connection in the pool when it is returned by the borrower.static final String -
Method Summary
-
Field Details
-
STATUS_NORMAL_DESC
- See Also:
-
STATUS_CLOSED_DESC
- See Also:
-
STATUS_BAD_DESC
- See Also:
-
STATUS_CLOSE_ON_RETURN_DESC
- See Also:
-
STATUS_REPLACE_ON_RETURN_DESC
- See Also:
-
STATUS_RECONNECTING_DESC
- See Also:
-
STATUS_NORMAL
The pooled connection's status is normal. -
STATUS_CLOSE_ON_RETURN
The pooled connection should be closed and not put back into the pool when it is returned by the borrower. -
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. -
STATUS_CLOSED
The pooled connection's status is closed. -
STATUS_BAD
The pooled connection's status is bad. -
STATUS_RECONNECTING
The pooled connection's status is reconnecting.
-
-
Method Details
-
equals
Determines equality. -
hashCode
public int hashCode() -
toString
-
getStatus
protected int getStatus()
-