/** * Rolls back current transaction on the completion of source if and only if * the source sequence is non-empty. * * @return Transformer that rolls back on completion of source. */ public <T> Transformer<T, Boolean> rollbackOnComplete_() { return commitOrRollbackOnComplete_(false); }
/** * Commits current transaction on the completion of source if and only if * the source sequence is non-empty. * * @return Transformer that commits on completion of source. */ public <T> Transformer<T, Boolean> commitOnComplete_() { return commitOrRollbackOnComplete_(true); }