Package org.elasticsearch.common.io.stream

Examples of org.elasticsearch.common.io.stream.StringStreamable


        if (clusterService.state().nodes().localNodeId().equals(node.id())) {
            return jmxService.publishUrl();
        } else {
            return transportService.submitRequest(node, GetJmxServiceUrlTransportHandler.ACTION, VoidStreamable.INSTANCE, new FutureTransportResponseHandler<StringStreamable>() {
                @Override public StringStreamable newInstance() {
                    return new StringStreamable();
                }
            }).txGet().get();
        }
    }
View Full Code Here


        @Override public String executor() {
            return ThreadPool.Names.SAME;
        }

        @Override public void messageReceived(VoidStreamable request, TransportChannel channel) throws Exception {
            channel.sendResponse(new StringStreamable(jmxService.publishUrl()));
        }
View Full Code Here

TOP

Related Classes of org.elasticsearch.common.io.stream.StringStreamable

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.