Uses of Interface
com.blackrook.sql.util.SQLConnectionConsumer
Packages that use SQLConnectionConsumer
-
Uses of SQLConnectionConsumer in com.blackrook.sql
Methods in com.blackrook.sql with parameters of type SQLConnectionConsumerModifier and TypeMethodDescriptionvoidSQLConnector.getConnectionAnd(SQLConnectionConsumer handler) Creates a connection, passes it to the providedSQLConnectionConsumerfunction, then closes it.voidSQLPool.getConnectionAnd(long waitMillis, SQLConnectionConsumer handler) Retrieves a connection from this pool, passes it to the providedSQLConnectionConsumerfunction, calls it, then returns it to the pool.voidSQLPool.getConnectionAnd(SQLConnectionConsumer handler) Retrieves a connection from this pool, passes it to the providedSQLConnectionConsumerfunction, then returns it to the pool.