Modifier and Type | Method and Description |
---|---|
public boolean | Returns: true if the connection released; false if the connection is no longer in the pool.The connection to release. conn)Releases a usable connection back to the pool. |
public boolean | Returns: true if the connection was removed; false if the connection is no longer in the pool prior to removal.The connection to return. conn)Removes a connection from the pool. |
releasePooledConnection | back to summary |
---|---|
public boolean releasePooledConnection(PooledConnection conn) Releases a usable connection back to the pool.
|
removePooledConnection | back to summary |
---|---|
public boolean removePooledConnection(PooledConnection conn) Removes a connection from the pool. The connection should not be reused. The physical connection should have already been closed.
|