Examples of wrappedOut()


Examples of org.elasticsearch.common.io.stream.HandlesStreamOutput.wrappedOut()

            final LocalTransport targetTransport = connectedNodes.get(node);
            if (targetTransport == null) {
                throw new NodeNotConnectedException(node, "Node not connected");
            }

            final byte[] data = ((BytesStreamOutput) stream.wrappedOut()).copiedByteArray();

            threadPool.cached().execute(new Runnable() {
                @Override public void run() {
                    targetTransport.messageReceived(data, action, LocalTransport.this, requestId);
                }
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.