public class ConnectionPool
extends java.lang.Object
Constructor and Description |
---|
ConnectionPool(java.lang.String url,
java.lang.String login,
java.lang.String password,
java.util.Properties jdbcProperties,
int max,
java.lang.String pingQuery,
java.lang.String schema,
java.lang.String consumer) |
Modifier and Type | Method and Description |
---|---|
void |
dumpUsed() |
java.lang.String |
dumpUsedAsString() |
int |
getAvailableConnections() |
java.sql.Connection |
getConnection() |
public ConnectionPool(java.lang.String url, java.lang.String login, java.lang.String password, java.util.Properties jdbcProperties, int max, java.lang.String pingQuery, java.lang.String schema, java.lang.String consumer) throws java.sql.SQLException
java.sql.SQLException
public java.sql.Connection getConnection() throws java.sql.SQLException, java.lang.InterruptedException
java.sql.SQLException
java.lang.InterruptedException
public java.lang.String dumpUsedAsString()
public void dumpUsed()
public int getAvailableConnections()
Copyright © 2021. All Rights Reserved.