Example usage for org.apache.zookeeper ServerAdminClient ruok

List of usage examples for org.apache.zookeeper ServerAdminClient ruok

Introduction

In this page you can find the example usage for org.apache.zookeeper ServerAdminClient ruok.

Prototype

public static void ruok(String host, int port) 

Source Link

Usage

From source file:org.fusesource.ide.zk.zookeeper.data.ZooKeeperServer.java

License:Apache License

public String ruok() {
    Stoppable outputCatcher = startOutputCatcher();
    ServerAdminClient.ruok(_Descriptor.getHost(), _Descriptor.getPort());
    return outputCatcher.stop();
}