Class LeaderElectionBean

    • Constructor Detail

      • LeaderElectionBean

        public LeaderElectionBean()
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface ZKMBeanInfo
        Returns:
        a string identifying the MBean
      • 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.