public final class DatasourceConnectionPool extends Object implements ConnectionPool
| Constructor and Description |
|---|
DatasourceConnectionPool(DataSource dataSource) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Connection |
get() |
boolean |
isClosed() |
void |
setDbAdaptor(DBAdaptor dbAdaptor) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcommitpublic DatasourceConnectionPool(DataSource dataSource)
public Connection get()
get in interface ConnectionPoolpublic void setDbAdaptor(DBAdaptor dbAdaptor)
setDbAdaptor in interface ConnectionPoolpublic void close()
close in interface AutoCloseableclose in interface ConnectionPoolpublic boolean isClosed()
isClosed in interface ConnectionPoolCopyright © 2023 CURS. All rights reserved.