|
Oracle® Universal Connection Pool for JDBC Java API Reference 11g Release 2 (11.2.0.4) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConnectionWithAbandonedTimeout
Interface supporting abandoned connection timeout handling for JDBC
java.sql.Connections.
abandonedConnectionTimeout pool
property and provides AbandonedConnectionTimeoutCallback to
allow customized handling of abandoned connections.
Applications use this interface along with the
abandonedConnectionTimeout properties for complete
abandoned-connection handlings.
PoolDataSource,
AbandonedConnectionTimeoutCallback| Method Summary | |
|---|---|
void |
registerAbandonedConnectionTimeoutCallback(AbandonedConnectionTimeoutCallback cbk)
Registers AbandonedConnectionTimeoutCallback with this
connection. |
void |
removeAbandonedConnectionTimeoutCallback()
Removes the AbandonedConnectionTimeoutCallback object
registered with this connection, if any. |
| Method Detail |
|---|
void registerAbandonedConnectionTimeoutCallback(AbandonedConnectionTimeoutCallback cbk)
throws java.sql.SQLException
AbandonedConnectionTimeoutCallback with this
connection.
cbk - The AbandonedConnectionTimeoutCallback object to
be registered.
java.sql.SQLException - If there is a callback already
registered with the connection.
void removeAbandonedConnectionTimeoutCallback()
throws java.sql.SQLException
AbandonedConnectionTimeoutCallback object
registered with this connection, if any.
java.sql.SQLException - If callback removal fails.
|
Oracle® Universal Connection Pool for JDBC Java API Reference 11g Release 2 (11.2.0.4) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||