Package org.jdbi.v3.cache.caffeine
Class CaffeineCachePlugin
java.lang.Object
org.jdbi.v3.cache.caffeine.CaffeineCachePlugin
- All Implemented Interfaces:
JdbiPlugin
Installing this plugin restores the up-to 3.36.0 behavior of using the Caffeine cache library for SQL statements and the colon prefix parser.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jdbi.v3.core.spi.JdbiPlugin
JdbiPlugin.Singleton
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
customizeJdbi
(Jdbi jdbi) Configure customizations global to any object managed by this Jdbi.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jdbi.v3.core.spi.JdbiPlugin
customizeConnection, customizeHandle
-
Constructor Details
-
CaffeineCachePlugin
public CaffeineCachePlugin()
-
-
Method Details
-
customizeJdbi
Description copied from interface:JdbiPlugin
Configure customizations global to any object managed by this Jdbi. This method is invoked immediately when the plugin is installed.- Specified by:
customizeJdbi
in interfaceJdbiPlugin
- Parameters:
jdbi
- the jdbi to customize
-