|
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 HarvestableConnection
Interface supporting Connection Harvesting for JDBC
java.sql.Connections.
PoolDataSource,
ConnectionHarvestingCallback| Method Summary | |
|---|---|
boolean |
isConnectionHarvestable()
Specifies whether this connection is harvestable. |
void |
registerConnectionHarvestingCallback(ConnectionHarvestingCallback cbk)
Registers a ConnectionHarvestingCallback with the this connection. |
void |
removeConnectionHarvestingCallback()
Removes the ConnectionHarvestingCallback object registered with this connection, if any. |
void |
setConnectionHarvestable(boolean isConnectionHarvestable)
Specifies whether this connection is harvestable. |
| Method Detail |
|---|
void setConnectionHarvestable(boolean isConnectionHarvestable)
throws java.sql.SQLException
isConnectionHarvestable - Whether this connection is harvestable.
java.sql.SQLException - If this connection was closed.
boolean isConnectionHarvestable()
throws java.sql.SQLException
True if so and false otherwise.
java.sql.SQLException - If an error occurs.
void registerConnectionHarvestingCallback(ConnectionHarvestingCallback cbk)
throws java.sql.SQLException
cbk - The ConnectionHarvestingCallback object to be registered.
java.sql.SQLException - If there is a callback already
registered with the connection.
void removeConnectionHarvestingCallback()
throws java.sql.SQLException
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 | |||||||||