Package org.lilyproject.util.jmx

Examples of org.lilyproject.util.jmx.JmxLiaison.invoke()


        if (mode == Mode.EMBED) {
            mbean.waitOnReplicationPeerReady(peerId);
        } else {
            JmxLiaison jmxLiaison = new JmxLiaison();
            jmxLiaison.connect(false);
            jmxLiaison.invoke(new ObjectName("LilyHBaseProxy:name=ReplicationPeer"), "waitOnReplicationPeerReady",
                    peerId);
            jmxLiaison.disconnect();
        }
    }
View Full Code Here


        if (mode == Mode.EMBED) {
            mbean.waitOnReplicationPeerStopped(peerId);
        } else {
            JmxLiaison jmxLiaison = new JmxLiaison();
            jmxLiaison.connect(false);
            jmxLiaison.invoke(new ObjectName("LilyHBaseProxy:name=ReplicationPeer"), "waitOnReplicationPeerStopped",
                    peerId);
            jmxLiaison.disconnect();
        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.