Uses of Interface
org.jdbi.v3.core.statement.Cleanable
-
Packages that use Cleanable Package Description org.jdbi.v3.core The 'core' package hosts the top level interface into jdbi core.org.jdbi.v3.core.statement Thestatementpackage provides most of the Fluent API to drive statement execution. -
-
Uses of Cleanable in org.jdbi.v3.core
Fields in org.jdbi.v3.core declared as Cleanable Modifier and Type Field Description private CleanableHandle. connectionCleanerFields in org.jdbi.v3.core with type parameters of type Cleanable Modifier and Type Field Description private java.util.Set<Cleanable>Handle. cleanablesMethods in org.jdbi.v3.core that return Cleanable Modifier and Type Method Description default CleanableConnectionFactory. getCleanableFor(java.sql.Connection conn)Returns aCleanablethat will close the connection and release all necessary resources.Methods in org.jdbi.v3.core with parameters of type Cleanable Modifier and Type Method Description voidHandle. addCleanable(Cleanable cleanable)Registers aCleanableto be invoked when the handle is closed.(package private) static HandleHandle. createHandle(Jdbi jdbi, Cleanable connectionCleaner, TransactionHandler transactionHandler, StatementBuilder statementBuilder, java.sql.Connection connection)voidHandle. removeCleanable(Cleanable cleanable)Unregister aCleanablefrom the Handle.Constructors in org.jdbi.v3.core with parameters of type Cleanable Constructor Description Handle(Jdbi jdbi, Cleanable connectionCleaner, TransactionHandler transactionHandler, StatementBuilder statementBuilder, java.sql.Connection connection) -
Uses of Cleanable in org.jdbi.v3.core.statement
Fields in org.jdbi.v3.core.statement with type parameters of type Cleanable Modifier and Type Field Description private java.util.Set<Cleanable>StatementContext. cleanablesMethods in org.jdbi.v3.core.statement with parameters of type Cleanable Modifier and Type Method Description voidStatementContext. addCleanable(Cleanable cleanable)Registers aCleanableto be invoked when the statement context is closed.default voidStatementContextListener. cleanableAdded(StatementContext statementContext, Cleanable cleanable)ACleanableobject was added to this context for cleanup when the context is cleaned.default voidStatementContextListener. cleanableRemoved(StatementContext statementContext, Cleanable cleanable)ACleanableobject was removed from the context.private voidStatementContext. notifyCleanableAdded(Cleanable cleanable)private voidStatementContext. notifyCleanableRemoved(Cleanable cleanable)
-