Package com.blacklocus.jres.response.bulk

Examples of com.blacklocus.jres.response.bulk.JresBulkItemResult


            List<JresBulkItemResult> results = Lists.newArrayList(bulkReply.getResults());
            assert futures.size() == results.size();

            for (int i = 0; i < results.size(); i++) {
                SettableFuture<JresBulkItemResult> future = futures.get(i);
                JresBulkItemResult result = results.get(i);
                if (result.getResult().hasError()) {
                    future.setException(new RuntimeException(result.getResult().getError()));
                } else {
                    future.set(result);
                }
            }
View Full Code Here

TOP

Related Classes of com.blacklocus.jres.response.bulk.JresBulkItemResult

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.