Class QuorumBean

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()  
      int getQuorumSize()  
      boolean isHidden()
      If isHidden returns true, the MBean won't be registered with MBean server, and thus won't be available for management tools.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • QuorumBean

        public QuorumBean​(QuorumPeer peer)
    • Method Detail

      • isHidden

        public boolean isHidden()
        Description copied from interface: ZKMBeanInfo
        If isHidden returns true, the MBean won't be registered with MBean server, and thus won't be available for management tools. Used for grouping MBeans.
        Specified by:
        isHidden in interface ZKMBeanInfo
        Returns:
        true if the MBean is hidden.
      • getQuorumSize

        public int getQuorumSize()
        Specified by:
        getQuorumSize in interface QuorumMXBean
        Returns:
        configured number of peers in the quorum