public class ConnectionErrorCheckingJDBCConnectionPool extends JDBCConnectionPool
| Constructor and Description |
|---|
ConnectionErrorCheckingJDBCConnectionPool(JDBCConnectionFactory factory,
GenericObjectPoolConfig cfg,
ConnectionStatus connectionStatus) |
| Modifier and Type | Method and Description |
|---|---|
java.sql.Connection |
borrowConnection() |
boolean |
cannotConnect() |
protected boolean |
mayTestAgain(int intervalSeconds) |
close, disableOracleStatementCaching, enableOracleStatementCaching, getMaxActive, getMaxPhysicalOpen, getNumActive, getNumIdle, getNumPhysicalOpen, invalidateConnection, isPoolClosed, resetOracleStatementCaching, resetStats, returnConnection, setDumpStackOnConnectionError, toStringpublic ConnectionErrorCheckingJDBCConnectionPool(JDBCConnectionFactory factory, GenericObjectPoolConfig cfg, ConnectionStatus connectionStatus)
public boolean cannotConnect()
cannotConnect in class JDBCConnectionPoolpublic java.sql.Connection borrowConnection()
throws java.lang.Exception
borrowConnection in class JDBCConnectionPooljava.lang.Exceptionprotected boolean mayTestAgain(int intervalSeconds)
Copyright © 2018 SAP SE. All Rights Reserved.