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 void
close()
Deprecated.static boolean
forceC3P0()
Deprecated.Connection
getConnection()
Deprecated.int
getMaxPoolSize()
Deprecated.int
getNumBusyConnectionsAllUsers()
Deprecated.int
getNumConnectionsAllUsers()
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:
close
in interfaceConnectionPool
-
getConnection
public Connection getConnection() throws SQLException
Deprecated.- Specified by:
getConnection
in interfaceConnectionPool
- Throws:
SQLException
-
getMaxPoolSize
public int getMaxPoolSize()
Deprecated.- Specified by:
getMaxPoolSize
in interfaceConnectionPool
-
getNumConnectionsAllUsers
public int getNumConnectionsAllUsers() throws SQLException
Deprecated.- Specified by:
getNumConnectionsAllUsers
in interfaceConnectionPool
- Throws:
SQLException
-
getNumBusyConnectionsAllUsers
public int getNumBusyConnectionsAllUsers() throws SQLException
Deprecated.- Specified by:
getNumBusyConnectionsAllUsers
in interfaceConnectionPool
- Throws:
SQLException
-
-