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.SQLExceptionjava.lang.InterruptedExceptionpublic 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.SQLExceptionpublic DataSource getDataSource()
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.ThrowableCopyright © 2021. All Rights Reserved.