Interface DBPoolViewMBean
- All Known Implementing Classes:
DBPoolView
public interface DBPoolViewMBean
MBean for retrieving some statistics about the connection pool
-
Method Details
-
getNumActive
int getNumActive()Number of active connections- Returns:
intNumber of active connections
-
getNumIdle
int getNumIdle()Number of idle connections- Returns:
intNumber of idle connections
-
getName
String getName()Data source name- Returns:
Stringdata source name
-
getConnectionUsage
Map getConnectionUsage()Connection information as a string- Returns:
Stringrepresenting connection information
-
reset
void reset()reset statistics
-