Class HikariConnectionPool
- java.lang.Object
-
- org.infinispan.persistence.jdbc.connectionfactory.HikariConnectionPool
-
- All Implemented Interfaces:
ConnectionPool
public class HikariConnectionPool extends Object implements ConnectionPool
- Author:
- Ryan Emerson
-
-
Constructor Summary
Constructors Constructor Description HikariConnectionPool(ClassLoader classLoader, PooledConnectionFactoryConfiguration poolConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Connection
getConnection()
int
getMaxPoolSize()
int
getNumBusyConnectionsAllUsers()
int
getNumConnectionsAllUsers()
-
-
-
Constructor Detail
-
HikariConnectionPool
public HikariConnectionPool(ClassLoader classLoader, PooledConnectionFactoryConfiguration poolConfig)
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfaceConnectionPool
-
getConnection
public Connection getConnection() throws SQLException
- Specified by:
getConnection
in interfaceConnectionPool
- Throws:
SQLException
-
getMaxPoolSize
public int getMaxPoolSize()
- Specified by:
getMaxPoolSize
in interfaceConnectionPool
-
getNumConnectionsAllUsers
public int getNumConnectionsAllUsers() throws SQLException
- Specified by:
getNumConnectionsAllUsers
in interfaceConnectionPool
- Throws:
SQLException
-
getNumBusyConnectionsAllUsers
public int getNumBusyConnectionsAllUsers() throws SQLException
- Specified by:
getNumBusyConnectionsAllUsers
in interfaceConnectionPool
- Throws:
SQLException
-
-