Uses of Interface
org.jdbi.v3.core.statement.Cleanable
Packages that use Cleanable
Package
Description
The 'core' package hosts the top level interface into jdbi core.
The
statement package 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 CleanableFields in org.jdbi.v3.core with type parameters of type CleanableMethods in org.jdbi.v3.core that return CleanableModifier and TypeMethodDescriptiondefault CleanableConnectionFactory.getCleanableFor(Connection conn) Returns aCleanablethat will close the connection and release all necessary resources.Methods in org.jdbi.v3.core with parameters of type CleanableModifier and TypeMethodDescriptionfinal 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, Connection connection) final voidHandle.removeCleanable(Cleanable cleanable) Unregister aCleanablefrom the Handle.Constructors in org.jdbi.v3.core with parameters of type CleanableModifierConstructorDescriptionprivateHandle(Jdbi jdbi, Cleanable connectionCleaner, TransactionHandler transactionHandler, StatementBuilder statementBuilder, Connection connection) -
Uses of Cleanable in org.jdbi.v3.core.statement
Fields in org.jdbi.v3.core.statement with type parameters of type CleanableMethods in org.jdbi.v3.core.statement with parameters of type CleanableModifier and TypeMethodDescriptionvoidStatementContext.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)