@Override public void call() { if (clearAfterCommit()) { self.childCollection.clear(); } if (exceptionsList.isEmpty()) { aggregatedErrorStream.onCompleted(); } else { aggregatedErrorStream.onError(new CompositeException(exceptionsList)); } } });
@Override public void call() { if (clearAfterCommit()) { self.childCollection.clear(); } if (exceptionsList.isEmpty()) { aggregatedErrorStream.onCompleted(); } else { aggregatedErrorStream.onError(new CompositeException(exceptionsList)); } } });