Package org.apache.zookeeper.jmx.server.quorum

Examples of org.apache.zookeeper.jmx.server.quorum.LeaderBean


        public void onLeaderStarted(QuorumPeer qp, Leader newLeader) {
            ZooTrace.logTraceMessage(LOG, ZooTrace.JMX_TRACE_MASK,
                    "Leader started "+newLeader);
            MBeanRegistry.getInstance().unregister(leBean);
            leBean=null;
            svrBean=new LeaderBean();
            MBeanRegistry.getInstance().register(svrBean, localPeerBean);
        }
View Full Code Here

TOP

Related Classes of org.apache.zookeeper.jmx.server.quorum.LeaderBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.