Package com.mchange.v2.c3p0.management
Class PooledDataSourceManager
java.lang.Object
com.mchange.v2.c3p0.management.PooledDataSourceManager
- All Implemented Interfaces:
PooledDataSourceManagerMBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
float
getEffectivePropertyCycle
(String username, String password) float
int
getNumBusyConnections
(String username, String password) int
int
int
getNumConnections
(String username, String password) int
int
int
getNumIdleConnections
(String username, String password) int
int
int
getNumUnclosedOrphanedConnections
(String username, String password) int
int
int
int
int
int
int
void
void
setDataSourceName
(String dataSourceName) void
void
void
-
Constructor Details
-
PooledDataSourceManager
-
-
Method Details
-
getIdentityToken
- Specified by:
getIdentityToken
in interfacePooledDataSourceManagerMBean
-
getDataSourceName
- Specified by:
getDataSourceName
in interfacePooledDataSourceManagerMBean
-
setDataSourceName
- Specified by:
setDataSourceName
in interfacePooledDataSourceManagerMBean
-
getNumConnectionsDefaultUser
- Specified by:
getNumConnectionsDefaultUser
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
getNumIdleConnectionsDefaultUser
- Specified by:
getNumIdleConnectionsDefaultUser
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
getNumBusyConnectionsDefaultUser
- Specified by:
getNumBusyConnectionsDefaultUser
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
getNumUnclosedOrphanedConnectionsDefaultUser
- Specified by:
getNumUnclosedOrphanedConnectionsDefaultUser
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
getEffectivePropertyCycleDefaultUser
- Specified by:
getEffectivePropertyCycleDefaultUser
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
getThreadPoolSize
- Specified by:
getThreadPoolSize
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
getThreadPoolNumActiveThreads
- Specified by:
getThreadPoolNumActiveThreads
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
getThreadPoolNumIdleThreads
- Specified by:
getThreadPoolNumIdleThreads
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
getThreadPoolNumTasksPending
- Specified by:
getThreadPoolNumTasksPending
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
sampleThreadPoolStackTraces
- Specified by:
sampleThreadPoolStackTraces
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
sampleThreadPoolStatus
- Specified by:
sampleThreadPoolStatus
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
softResetDefaultUser
- Specified by:
softResetDefaultUser
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
getNumConnections
- Specified by:
getNumConnections
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
getNumIdleConnections
- Specified by:
getNumIdleConnections
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
getNumBusyConnections
- Specified by:
getNumBusyConnections
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
getNumUnclosedOrphanedConnections
- Specified by:
getNumUnclosedOrphanedConnections
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
getEffectivePropertyCycle
- Specified by:
getEffectivePropertyCycle
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
softReset
- Specified by:
softReset
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
getNumBusyConnectionsAllUsers
- Specified by:
getNumBusyConnectionsAllUsers
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
getNumIdleConnectionsAllUsers
- Specified by:
getNumIdleConnectionsAllUsers
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
getNumConnectionsAllUsers
- Specified by:
getNumConnectionsAllUsers
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
getNumUnclosedOrphanedConnectionsAllUsers
- Specified by:
getNumUnclosedOrphanedConnectionsAllUsers
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
softResetAllUsers
- Specified by:
softResetAllUsers
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
getNumUserPools
- Specified by:
getNumUserPools
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
getAllUsers
- Specified by:
getAllUsers
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
hardReset
- Specified by:
hardReset
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-
close
- Specified by:
close
in interfacePooledDataSourceManagerMBean
- Throws:
SQLException
-