Class C3P0ConnectionPool
- java.lang.Object
-
- org.infinispan.persistence.jdbc.connectionfactory.C3P0ConnectionPool
-
- All Implemented Interfaces:
ConnectionPool
@Deprecated public class C3P0ConnectionPool extends Object implements ConnectionPool
Deprecated.Support for the C3P0 connection pool will be removed in 10.0- Author:
- Ryan Emerson
-
-
Constructor Summary
Constructors Constructor Description C3P0ConnectionPool(ClassLoader classLoader, PooledConnectionFactoryConfiguration poolConfig)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated.static booleanforceC3P0()Deprecated.ConnectiongetConnection()Deprecated.intgetMaxPoolSize()Deprecated.intgetNumBusyConnectionsAllUsers()Deprecated.intgetNumConnectionsAllUsers()Deprecated.
-
-
-
Constructor Detail
-
C3P0ConnectionPool
public C3P0ConnectionPool(ClassLoader classLoader, PooledConnectionFactoryConfiguration poolConfig)
Deprecated.
-
-
Method Detail
-
forceC3P0
public static boolean forceC3P0()
Deprecated.
-
close
public void close()
Deprecated.- Specified by:
closein interfaceConnectionPool
-
getConnection
public Connection getConnection() throws SQLException
Deprecated.- Specified by:
getConnectionin interfaceConnectionPool- Throws:
SQLException
-
getMaxPoolSize
public int getMaxPoolSize()
Deprecated.- Specified by:
getMaxPoolSizein interfaceConnectionPool
-
getNumConnectionsAllUsers
public int getNumConnectionsAllUsers() throws SQLExceptionDeprecated.- Specified by:
getNumConnectionsAllUsersin interfaceConnectionPool- Throws:
SQLException
-
getNumBusyConnectionsAllUsers
public int getNumBusyConnectionsAllUsers() throws SQLExceptionDeprecated.- Specified by:
getNumBusyConnectionsAllUsersin interfaceConnectionPool- Throws:
SQLException
-
-