Uses of Interface
com.blackrook.sql.util.SQLConnectionConsumer
-
Uses of SQLConnectionConsumer in com.blackrook.sql
Modifier and TypeMethodDescriptionvoid
SQLConnector.getConnectionAnd
(SQLConnectionConsumer handler) Creates a connection, passes it to the providedSQLConnectionConsumer
function, then closes it.void
SQLPool.getConnectionAnd
(long waitMillis, SQLConnectionConsumer handler) Retrieves a connection from this pool, passes it to the providedSQLConnectionConsumer
function, calls it, then returns it to the pool.void
SQLPool.getConnectionAnd
(SQLConnectionConsumer handler) Retrieves a connection from this pool, passes it to the providedSQLConnectionConsumer
function, then returns it to the pool.