public class JmxConnectionPoolMonitor extends java.lang.Object implements JmxConnectionPoolMonitorMBean
| Constructor and Description |
|---|
JmxConnectionPoolMonitor(ConnectionPool<?> pool) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addHost(java.lang.String host) |
java.lang.String |
getActiveHosts() |
boolean |
hasHost(java.lang.String host) |
boolean |
isHostUp(java.lang.String host) |
boolean |
removeHost(java.lang.String host) |
public JmxConnectionPoolMonitor(ConnectionPool<?> pool)
public boolean addHost(java.lang.String host)
addHost in interface JmxConnectionPoolMonitorMBeanpublic boolean removeHost(java.lang.String host)
removeHost in interface JmxConnectionPoolMonitorMBeanpublic boolean isHostUp(java.lang.String host)
isHostUp in interface JmxConnectionPoolMonitorMBeanpublic boolean hasHost(java.lang.String host)
hasHost in interface JmxConnectionPoolMonitorMBeanpublic java.lang.String getActiveHosts()
getActiveHosts in interface JmxConnectionPoolMonitorMBean