org.apache.zookeeper.server.quorum
Class FollowerBean
java.lang.Object
org.apache.zookeeper.server.ZooKeeperServerBean
org.apache.zookeeper.server.quorum.FollowerBean
- All Implemented Interfaces:
- ZKMBeanInfo, FollowerMXBean, ZooKeeperServerMXBean
public class FollowerBean
- extends ZooKeeperServerBean
- implements FollowerMXBean
Follower MBean inteface implementation
Methods inherited from class org.apache.zookeeper.server.ZooKeeperServerBean |
getAvgRequestLatency, getClientPort, getMaxRequestLatency, getMinRequestLatency, getOutstandingRequests, getPacketsReceived, getPacketsSent, getStartTime, getTickTime, getVersion, isHidden, resetLatency, resetMaxLatency, resetStatistics, 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, getMaxRequestLatency, getMinRequestLatency, getOutstandingRequests, getPacketsReceived, getPacketsSent, getStartTime, getTickTime, getVersion, resetLatency, resetMaxLatency, resetStatistics, setTickTime |
FollowerBean
public FollowerBean(Follower follower,
ZooKeeperServer zks)
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