/** * Synchronously rolls back transaction after all previous asynchronous operations are completed. * * @param tx Transaction to commit. * @throws GridException If commit failed. */ void rollbackTx(GridCacheTx tx) throws GridException { awaitLastFut(); tx.rollback(); }