|
Oracle® Universal Connection Pool for JDBC Java API Reference 11g Release 2 (11.2) E12826-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ucp.UniversalPooledConnectionStatus
public class UniversalPooledConnectionStatus
Describes the status of a pooled connection. <p/> 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 | |
---|---|
static UniversalPooledConnectionStatus |
STATUS_BAD The pooled connection's status is bad. |
static java.lang.String |
STATUS_BAD_DESC |
static 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 java.lang.String |
STATUS_CLOSE_ON_RETURN_DESC |
static UniversalPooledConnectionStatus |
STATUS_CLOSED The pooled connection's status is closed. |
static java.lang.String |
STATUS_CLOSED_DESC |
static UniversalPooledConnectionStatus |
STATUS_NORMAL The pooled connection's status is normal. |
static java.lang.String |
STATUS_NORMAL_DESC |
static 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. |
static java.lang.String |
STATUS_REPLACE_ON_RETURN_DESC |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object status) Determines equality. |
protected int |
getStatus() |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String STATUS_NORMAL_DESC
public static final java.lang.String STATUS_CLOSED_DESC
public static final java.lang.String STATUS_BAD_DESC
public static final java.lang.String STATUS_CLOSE_ON_RETURN_DESC
public static final java.lang.String STATUS_REPLACE_ON_RETURN_DESC
public static final UniversalPooledConnectionStatus STATUS_NORMAL
public static final UniversalPooledConnectionStatus STATUS_CLOSE_ON_RETURN
public static final UniversalPooledConnectionStatus STATUS_REPLACE_ON_RETURN
public static final UniversalPooledConnectionStatus STATUS_CLOSED
public static final UniversalPooledConnectionStatus STATUS_BAD
Method Detail |
---|
public boolean equals(java.lang.Object status)
equals
in class java.lang.Object
status
- The object to compare.true
if this object is equal to the object passed in; otherwise, false
.public java.lang.String toString()
toString
in class java.lang.Object
protected int getStatus()
|
Oracle® Universal Connection Pool for JDBC Java API Reference 11g Release 2 (11.2) E12826-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |