Interface DBPoolViewMBean
-
- All Known Implementing Classes:
DBPoolView
public interface DBPoolViewMBean
MBean for retrieving some statistics about the connection pool
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map
getConnectionUsage()
Connection information as a stringString
getName()
Data source nameint
getNumActive()
Number of active connectionsint
getNumIdle()
Number of idle connectionsvoid
reset()
reset statistics
-
-
-
Method Detail
-
getNumActive
int getNumActive()
Number of active connections- Returns:
int
Number of active connections
-
getNumIdle
int getNumIdle()
Number of idle connections- Returns:
int
Number of idle connections
-
getName
String getName()
Data source name- Returns:
String
data source name
-
getConnectionUsage
Map getConnectionUsage()
Connection information as a string- Returns:
String
representing connection information
-
reset
void reset()
reset statistics
-
-