Package com.mchange.v2.c3p0
Class C3P0Registry
- java.lang.Object
-
- com.mchange.v2.c3p0.C3P0Registry
-
public final class C3P0Registry extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description C3P0Registry()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.SetallIdentityTokenized()static java.util.SetallIdentityTokens()static java.util.SetallPooledDataSources()static ConnectionCustomizergetConnectionCustomizer(java.lang.String className)static ConnectionTestergetConnectionTester(java.lang.String className)static intgetNumPooledDataSources()static intgetNumPoolsAllDataSources()intgetNumThreadsAllThreadPools()static java.util.SetgetPooledDataSources()static voidmarkClosed(PooledDataSource pds)static PooledDataSourcepooledDataSourceByName(java.lang.String dataSourceName)static java.util.SetpooledDataSourcesByName(java.lang.String dataSourceName)static com.mchange.v2.c3p0.impl.IdentityTokenizedreregister(com.mchange.v2.c3p0.impl.IdentityTokenized idt)
-
-
-
Method Detail
-
getConnectionTester
public static ConnectionTester getConnectionTester(java.lang.String className)
-
getConnectionCustomizer
public static ConnectionCustomizer getConnectionCustomizer(java.lang.String className) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
reregister
public static com.mchange.v2.c3p0.impl.IdentityTokenized reregister(com.mchange.v2.c3p0.impl.IdentityTokenized idt)
-
markClosed
public static void markClosed(PooledDataSource pds)
-
getPooledDataSources
public static java.util.Set getPooledDataSources()
-
pooledDataSourcesByName
public static java.util.Set pooledDataSourcesByName(java.lang.String dataSourceName)
-
pooledDataSourceByName
public static PooledDataSource pooledDataSourceByName(java.lang.String dataSourceName)
-
allIdentityTokens
public static java.util.Set allIdentityTokens()
-
allIdentityTokenized
public static java.util.Set allIdentityTokenized()
-
allPooledDataSources
public static java.util.Set allPooledDataSources()
-
getNumPooledDataSources
public static int getNumPooledDataSources()
-
getNumPoolsAllDataSources
public static int getNumPoolsAllDataSources() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getNumThreadsAllThreadPools
public int getNumThreadsAllThreadPools() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
-