Package org.elasticsearch.common.io.stream

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


    public void sendFreeContext(DiscoveryNode node, final long contextId) {
        if (clusterService.state().nodes().localNodeId().equals(node.id())) {
            searchService.freeContext(contextId);
        } else {
            transportService.sendRequest(node, SearchFreeContextTransportHandler.ACTION, new LongStreamable(contextId), freeContextResponseHandler);
        }
    }
View Full Code Here


    private class SearchFreeContextTransportHandler extends BaseTransportRequestHandler<LongStreamable> {

        static final String ACTION = "search/freeContext";

        @Override public LongStreamable newInstance() {
            return new LongStreamable();
        }
View Full Code Here

TOP

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

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.