public final class Pool
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
dumpUsed() |
java.lang.String |
dumpUsedAsString() |
protected void |
finalize() |
int |
getAvailableConnections() |
java.sql.Connection |
getConnection() |
DataSource |
getDataSource() |
int |
lastInsertId(java.sql.Connection con) |
void |
stop() |
public void stop() throws java.sql.SQLException, java.lang.InterruptedException
java.sql.SQLException
java.lang.InterruptedException
public java.sql.Connection getConnection()
public java.lang.String dumpUsedAsString()
public void dumpUsed()
public int getAvailableConnections()
public int lastInsertId(java.sql.Connection con) throws java.sql.SQLException
java.sql.SQLException
public DataSource getDataSource()
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
Copyright © 2021. All Rights Reserved.