public class PooledDataSourceManager extends java.lang.Object implements PooledDataSourceManagerMBean
| Constructor and Description |
|---|
PooledDataSourceManager(PooledDataSource pds) |
public PooledDataSourceManager(PooledDataSource pds)
public java.lang.String getIdentityToken()
getIdentityToken in interface PooledDataSourceManagerMBeanpublic java.lang.String getDataSourceName()
getDataSourceName in interface PooledDataSourceManagerMBeanpublic void setDataSourceName(java.lang.String dataSourceName)
setDataSourceName in interface PooledDataSourceManagerMBeanpublic int getNumConnectionsDefaultUser()
throws java.sql.SQLException
getNumConnectionsDefaultUser in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic int getNumIdleConnectionsDefaultUser()
throws java.sql.SQLException
getNumIdleConnectionsDefaultUser in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic int getNumBusyConnectionsDefaultUser()
throws java.sql.SQLException
getNumBusyConnectionsDefaultUser in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic int getNumUnclosedOrphanedConnectionsDefaultUser()
throws java.sql.SQLException
getNumUnclosedOrphanedConnectionsDefaultUser in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic float getEffectivePropertyCycleDefaultUser()
throws java.sql.SQLException
getEffectivePropertyCycleDefaultUser in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic int getThreadPoolSize()
throws java.sql.SQLException
getThreadPoolSize in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic int getThreadPoolNumActiveThreads()
throws java.sql.SQLException
getThreadPoolNumActiveThreads in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic int getThreadPoolNumIdleThreads()
throws java.sql.SQLException
getThreadPoolNumIdleThreads in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic int getThreadPoolNumTasksPending()
throws java.sql.SQLException
getThreadPoolNumTasksPending in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic java.lang.String sampleThreadPoolStackTraces()
throws java.sql.SQLException
sampleThreadPoolStackTraces in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic java.lang.String sampleThreadPoolStatus()
throws java.sql.SQLException
sampleThreadPoolStatus in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic void softResetDefaultUser()
throws java.sql.SQLException
softResetDefaultUser in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic int getNumConnections(java.lang.String username,
java.lang.String password)
throws java.sql.SQLException
getNumConnections in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic int getNumIdleConnections(java.lang.String username,
java.lang.String password)
throws java.sql.SQLException
getNumIdleConnections in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic int getNumBusyConnections(java.lang.String username,
java.lang.String password)
throws java.sql.SQLException
getNumBusyConnections in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic int getNumUnclosedOrphanedConnections(java.lang.String username,
java.lang.String password)
throws java.sql.SQLException
getNumUnclosedOrphanedConnections in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic float getEffectivePropertyCycle(java.lang.String username,
java.lang.String password)
throws java.sql.SQLException
getEffectivePropertyCycle in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic void softReset(java.lang.String username,
java.lang.String password)
throws java.sql.SQLException
softReset in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic int getNumBusyConnectionsAllUsers()
throws java.sql.SQLException
getNumBusyConnectionsAllUsers in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic int getNumIdleConnectionsAllUsers()
throws java.sql.SQLException
getNumIdleConnectionsAllUsers in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic int getNumConnectionsAllUsers()
throws java.sql.SQLException
getNumConnectionsAllUsers in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic int getNumUnclosedOrphanedConnectionsAllUsers()
throws java.sql.SQLException
getNumUnclosedOrphanedConnectionsAllUsers in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic void softResetAllUsers()
throws java.sql.SQLException
softResetAllUsers in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic int getNumUserPools()
throws java.sql.SQLException
getNumUserPools in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic java.util.Collection getAllUsers()
throws java.sql.SQLException
getAllUsers in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic void hardReset()
throws java.sql.SQLException
hardReset in interface PooledDataSourceManagerMBeanjava.sql.SQLExceptionpublic void close()
throws java.sql.SQLException
close in interface PooledDataSourceManagerMBeanjava.sql.SQLException