org.apache.zookeeper.server.quorum
Class ReadOnlyBean

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

public class ReadOnlyBean
extends ZooKeeperServerBean

ReadOnly MX Bean interface, implemented by ReadOnlyBean


Field Summary
 
Fields inherited from class org.apache.zookeeper.server.ZooKeeperServerBean
zks
 
Constructor Summary
ReadOnlyBean(ZooKeeperServer zks)
           
 
Method Summary
 String getName()
           
 
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
 

Constructor Detail

ReadOnlyBean

public ReadOnlyBean(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


Copyright © 2011 The Apache Software Foundation