Package org.apache.zookeeper.jmx.server

Examples of org.apache.zookeeper.jmx.server.DataTreeBean


        public void onStartup(ZooKeeperServer server) {
            ZooTrace.logTraceMessage(LOG, ZooTrace.JMX_TRACE_MASK,
                    "Started new zookeeper server: "+server);
            try {
                dataTreeBean = new DataTreeBean(server.dataTree);
                MBeanRegistry.getInstance().register(dataTreeBean, svrBean);
            } catch (Exception e) {
                LOG.warn("Failed to register Standalone ZooKeeperServerMBean "
                                + e.getMessage());
            }
View Full Code Here


        public void onStartup(ZooKeeperServer server) {
            try {
                svrBean = new ZooKeeperServerBean(server);
                MBeanRegistry.getInstance().register(svrBean, null);
                dataTreeBean = new DataTreeBean(server.dataTree);
                MBeanRegistry.getInstance().register(dataTreeBean, svrBean);
            } catch (Exception e) {
                LOG.warn("Failed to register Standalone ZooKeeperServerMBean "
                                + e.getMessage());
            }
View Full Code Here

TOP

Related Classes of org.apache.zookeeper.jmx.server.DataTreeBean

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.