com.netflix.astyanax.connectionpool
Class JmxConnectionPoolMonitor
java.lang.Object
com.netflix.astyanax.connectionpool.JmxConnectionPoolMonitor
- All Implemented Interfaces:
- JmxConnectionPoolMonitorMBean
public class JmxConnectionPoolMonitor
- extends java.lang.Object
- implements JmxConnectionPoolMonitorMBean
MBean monitoring for a connection pool
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmxConnectionPoolMonitor
public JmxConnectionPoolMonitor(ConnectionPool<?> pool)
addHost
public boolean addHost(java.lang.String host)
- Specified by:
addHost in interface JmxConnectionPoolMonitorMBean
removeHost
public boolean removeHost(java.lang.String host)
- Specified by:
removeHost in interface JmxConnectionPoolMonitorMBean
isHostUp
public boolean isHostUp(java.lang.String host)
- Specified by:
isHostUp in interface JmxConnectionPoolMonitorMBean
hasHost
public boolean hasHost(java.lang.String host)
- Specified by:
hasHost in interface JmxConnectionPoolMonitorMBean
getActiveHosts
public java.lang.String getActiveHosts()
- Specified by:
getActiveHosts in interface JmxConnectionPoolMonitorMBean