events2 = that.persistChanges(that.changedNodesInOrder, thatPersistedCache);
if (events2.hasBinaryChanges()) {
txn.uponCommit(binaryUsageUpdateFunction(events2.usedBinaries(), events2.unusedBinaries()));
}
} catch (org.infinispan.util.concurrent.TimeoutException e) {
txn.rollback();
if (repeat <= 0) throw new TimeoutException(e.getMessage(), e);
--repeat;
Thread.sleep(PAUSE_TIME_BEFORE_REPEAT_FOR_LOCK_ACQUISITION_TIMEOUT);
continue;
} catch (IllegalStateException err) {