Module is.codion.plugin.hikari.pool
Package is.codion.plugin.hikari.pool
Class HikariConnectionPoolFactory
java.lang.Object
is.codion.plugin.hikari.pool.HikariConnectionPoolFactory
- All Implemented Interfaces:
ConnectionPoolFactory
A HikariCP connection pool based
ConnectionPoolFactory
implementation-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateConnectionPoolWrapper
(ConnectionFactory connectionFactory, User user) Creates a HikariCP based connection pool wrapper
-
Constructor Details
-
HikariConnectionPoolFactory
public HikariConnectionPoolFactory()
-
-
Method Details
-
createConnectionPoolWrapper
public ConnectionPoolWrapper createConnectionPoolWrapper(ConnectionFactory connectionFactory, User user) Creates a HikariCP based connection pool wrapper- Specified by:
createConnectionPoolWrapper
in interfaceConnectionPoolFactory
- Parameters:
connectionFactory
- the connection factoryuser
- the user- Returns:
- a connection pool
-