org.apache.zookeeper.server
Class ObserverBean

java.lang.Object
  extended by org.apache.zookeeper.server.ZooKeeperServerBean
      extended by org.apache.zookeeper.server.ObserverBean
All Implemented Interfaces:
ZKMBeanInfo, ObserverMXBean, ZooKeeperServerMXBean

public class ObserverBean
extends ZooKeeperServerBean
implements ObserverMXBean

ObserverBean


Field Summary
 
Fields inherited from class org.apache.zookeeper.server.ZooKeeperServerBean
zks
 
Constructor Summary
ObserverBean(Observer observer, ZooKeeperServer zks)
           
 
Method Summary
 int getPendingRevalidationCount()
           
 String getQuorumAddress()
           
 
Methods inherited from class org.apache.zookeeper.server.ZooKeeperServerBean
getAvgRequestLatency, getClientPort, getMaxClientCnxnsPerHost, getMaxRequestLatency, getMaxSessionTimeout, getMinRequestLatency, getMinSessionTimeout, getName, getOutstandingRequests, getPacketsReceived, getPacketsSent, getStartTime, getTickTime, getVersion, isHidden, resetLatency, resetMaxLatency, resetStatistics, setMaxClientCnxnsPerHost, setMaxSessionTimeout, setMinSessionTimeout, setTickTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.zookeeper.server.ZooKeeperServerMXBean
getAvgRequestLatency, getClientPort, getMaxClientCnxnsPerHost, getMaxRequestLatency, getMaxSessionTimeout, getMinRequestLatency, getMinSessionTimeout, getOutstandingRequests, getPacketsReceived, getPacketsSent, getStartTime, getTickTime, getVersion, resetLatency, resetMaxLatency, resetStatistics, setMaxClientCnxnsPerHost, setMaxSessionTimeout, setMinSessionTimeout, setTickTime
 

Constructor Detail

ObserverBean

public ObserverBean(Observer observer,
                    ZooKeeperServer zks)
Method Detail

getPendingRevalidationCount

public int getPendingRevalidationCount()
Specified by:
getPendingRevalidationCount in interface ObserverMXBean
Returns:
count of pending revalidations

getQuorumAddress

public String getQuorumAddress()
Specified by:
getQuorumAddress in interface ObserverMXBean
Returns:
socket address


Copyright © 2011 The Apache Software Foundation