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 PooledDataSourceManagerMBean
public java.lang.String getDataSourceName()
getDataSourceName
in interface PooledDataSourceManagerMBean
public void setDataSourceName(java.lang.String dataSourceName)
setDataSourceName
in interface PooledDataSourceManagerMBean
public int getNumConnectionsDefaultUser() throws java.sql.SQLException
getNumConnectionsDefaultUser
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public int getNumIdleConnectionsDefaultUser() throws java.sql.SQLException
getNumIdleConnectionsDefaultUser
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public int getNumBusyConnectionsDefaultUser() throws java.sql.SQLException
getNumBusyConnectionsDefaultUser
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public int getNumUnclosedOrphanedConnectionsDefaultUser() throws java.sql.SQLException
getNumUnclosedOrphanedConnectionsDefaultUser
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public float getEffectivePropertyCycleDefaultUser() throws java.sql.SQLException
getEffectivePropertyCycleDefaultUser
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public int getThreadPoolSize() throws java.sql.SQLException
getThreadPoolSize
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public int getThreadPoolNumActiveThreads() throws java.sql.SQLException
getThreadPoolNumActiveThreads
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public int getThreadPoolNumIdleThreads() throws java.sql.SQLException
getThreadPoolNumIdleThreads
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public int getThreadPoolNumTasksPending() throws java.sql.SQLException
getThreadPoolNumTasksPending
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public java.lang.String sampleThreadPoolStackTraces() throws java.sql.SQLException
sampleThreadPoolStackTraces
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public java.lang.String sampleThreadPoolStatus() throws java.sql.SQLException
sampleThreadPoolStatus
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public void softResetDefaultUser() throws java.sql.SQLException
softResetDefaultUser
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public int getNumConnections(java.lang.String username, java.lang.String password) throws java.sql.SQLException
getNumConnections
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public int getNumIdleConnections(java.lang.String username, java.lang.String password) throws java.sql.SQLException
getNumIdleConnections
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public int getNumBusyConnections(java.lang.String username, java.lang.String password) throws java.sql.SQLException
getNumBusyConnections
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public int getNumUnclosedOrphanedConnections(java.lang.String username, java.lang.String password) throws java.sql.SQLException
getNumUnclosedOrphanedConnections
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public float getEffectivePropertyCycle(java.lang.String username, java.lang.String password) throws java.sql.SQLException
getEffectivePropertyCycle
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public void softReset(java.lang.String username, java.lang.String password) throws java.sql.SQLException
softReset
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public int getNumBusyConnectionsAllUsers() throws java.sql.SQLException
getNumBusyConnectionsAllUsers
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public int getNumIdleConnectionsAllUsers() throws java.sql.SQLException
getNumIdleConnectionsAllUsers
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public int getNumConnectionsAllUsers() throws java.sql.SQLException
getNumConnectionsAllUsers
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public int getNumUnclosedOrphanedConnectionsAllUsers() throws java.sql.SQLException
getNumUnclosedOrphanedConnectionsAllUsers
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public void softResetAllUsers() throws java.sql.SQLException
softResetAllUsers
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public int getNumUserPools() throws java.sql.SQLException
getNumUserPools
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public java.util.Collection getAllUsers() throws java.sql.SQLException
getAllUsers
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public void hardReset() throws java.sql.SQLException
hardReset
in interface PooledDataSourceManagerMBean
java.sql.SQLException
public void close() throws java.sql.SQLException
close
in interface PooledDataSourceManagerMBean
java.sql.SQLException