Interface DBPoolViewMBean
-
- All Known Implementing Classes:
DBPoolView
public interface DBPoolViewMBeanMBean for retrieving some statistics about the connection pool
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MapgetConnectionUsage()Connection information as a stringStringgetName()Data source nameintgetNumActive()Number of active connectionsintgetNumIdle()Number of idle connectionsvoidreset()reset statistics
-
-
-
Method Detail
-
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
-
-