private static boolean allFailed(final Counts counts) { return counts.getError() != 0 && counts.getSuccess() == 0; }