utility method that checks whether all tasks succeeded from the output of #executeandgetresults . concode_field_sep CompletionService<T> completionService concode_elem_sep Iterator<Callable<T>> iterator concode_elem_sep ExecutorService executor concode_elem_sep boolean executed concode_elem_sep int numThreads concode_field_sep List<Either<T,ExecutionException>> executeAndGetResults concode_elem_sep List<Future<T>> execute concode_elem_sep void logFailures
boolean function ( List < Either < T , ExecutionException >> arg0 ) { return Iterables . all ( arg0 , new Predicate < Either < T , ExecutionException >> ( ) { @ Override public boolean apply ( @ Nullable Either < T , ExecutionException > arg1 ) { return arg1 instanceof Either . Left ; } } ) ; }