com.netflix.astyanax.connectionpool
Class JmxConnectionPoolMonitor
java.lang.Object
com.netflix.astyanax.connectionpool.JmxConnectionPoolMonitor
- All Implemented Interfaces:
- JmxConnectionPoolMonitorMBean
public class JmxConnectionPoolMonitor
- extends Object
- implements JmxConnectionPoolMonitorMBean
MBean monitoring for a connection pool
- Author:
- elandau
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(String host)
- Specified by:
addHost
in interface JmxConnectionPoolMonitorMBean
removeHost
public boolean removeHost(String host)
- Specified by:
removeHost
in interface JmxConnectionPoolMonitorMBean
isHostUp
public boolean isHostUp(String host)
- Specified by:
isHostUp
in interface JmxConnectionPoolMonitorMBean
hasHost
public boolean hasHost(String host)
- Specified by:
hasHost
in interface JmxConnectionPoolMonitorMBean
getActiveHosts
public String getActiveHosts()
- Specified by:
getActiveHosts
in interface JmxConnectionPoolMonitorMBean
Copyright © 2012. All Rights Reserved.