org.apache.zookeeper.server.quorum
Class FollowerBean

java.lang.Object
  extended by org.apache.zookeeper.server.ZooKeeperServerBean
      extended by org.apache.zookeeper.server.quorum.FollowerBean
All Implemented Interfaces:
ZKMBeanInfo, FollowerMXBean, ZooKeeperServerMXBean

public class FollowerBean
extends ZooKeeperServerBean
implements FollowerMXBean

Follower MBean inteface implementation


Field Summary
 
Fields inherited from class org.apache.zookeeper.server.ZooKeeperServerBean
zks
 
Constructor Summary
FollowerBean(Follower follower, ZooKeeperServer zks)
           
 
Method Summary
 String getLastQueuedZxid()
           
 String getName()
           
 int getPendingRevalidationCount()
           
 String getQuorumAddress()
           
 
Methods inherited from class org.apache.zookeeper.server.ZooKeeperServerBean
getAvgRequestLatency, getClientPort, getMaxClientCnxnsPerHost, getMaxRequestLatency, getMaxSessionTimeout, getMinRequestLatency, getMinSessionTimeout, 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

FollowerBean

public FollowerBean(Follower follower,
                    ZooKeeperServer zks)
Method Detail

getName

public String getName()
Specified by:
getName in interface ZKMBeanInfo
Overrides:
getName in class ZooKeeperServerBean
Returns:
a string identifying the MBean

getQuorumAddress

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

getLastQueuedZxid

public String getLastQueuedZxid()
Specified by:
getLastQueuedZxid in interface FollowerMXBean
Returns:
last queued zxid

getPendingRevalidationCount

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


Copyright © 2011 The Apache Software Foundation