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 voidclose()ConnectiongetConnection()intgetMaxPoolSize()intgetNumBusyConnectionsAllUsers()intgetNumConnectionsAllUsers()
-
-
-
Constructor Detail
-
HikariConnectionPool
public HikariConnectionPool(ClassLoader classLoader, PooledConnectionFactoryConfiguration poolConfig)
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfaceConnectionPool
-
getConnection
public Connection getConnection() throws SQLException
- Specified by:
getConnectionin interfaceConnectionPool- Throws:
SQLException
-
getMaxPoolSize
public int getMaxPoolSize()
- Specified by:
getMaxPoolSizein interfaceConnectionPool
-
getNumConnectionsAllUsers
public int getNumConnectionsAllUsers() throws SQLException- Specified by:
getNumConnectionsAllUsersin interfaceConnectionPool- Throws:
SQLException
-
getNumBusyConnectionsAllUsers
public int getNumBusyConnectionsAllUsers() throws SQLException- Specified by:
getNumBusyConnectionsAllUsersin interfaceConnectionPool- Throws:
SQLException
-
-