Package ru.curs.celesta
Interface ConnectionPool
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
DatasourceConnectionPool,InternalConnectionPool
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()default voidcommit(Connection conn) Executes 'commit' command on a connection without throwing a checked exception.get()booleanisClosed()voidsetDbAdaptor(DBAdaptor dbAdaptor)
-
Method Details
-
get
Connection get() -
setDbAdaptor
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-
isClosed
boolean isClosed() -
commit
Executes 'commit' command on a connection without throwing a checked exception.- Parameters:
conn- connection for commit execution.
-