Package org.xbib.elasticsearch.action.skywalker

Examples of org.xbib.elasticsearch.action.skywalker.SkywalkerRequest


        controller.registerHandler(GET, "/{index}/_skywalker", this);
    }

    @Override
    public void handleRequest(final RestRequest request, final RestChannel channel, final Client client) {
        SkywalkerRequest r = new SkywalkerRequest(Strings.splitStringByCommaToArray(request.param("index")));
        client.admin().cluster().execute(SkywalkerAction.INSTANCE, r, new RestResponseListener<SkywalkerResponse>(channel) {
            @Override
            public RestResponse buildResponse(SkywalkerResponse response) throws Exception {
                XContentBuilder builder = jsonBuilder();
                builder.startObject();
View Full Code Here

TOP

Related Classes of org.xbib.elasticsearch.action.skywalker.SkywalkerRequest

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.