/** {@inheritDoc} */ @Override public R apply(E1 e1, E2 e2) { try { return applyx(e1, e2); } catch (IgniteCheckedException e) { throw F.wrap(e); } }
@Override public IgnitePair<?> call() { try (Transaction ignored = node.transactions().txStart()) { // First result that we'll later check w/respect to REPEATABLE READ semantic. Object res1 = clo.apply(null, null); Object res2 = clo.apply(startLatch, endLatch); return new IgnitePair<>(res1, res2); } } });
/** {@inheritDoc} */ @Override public R apply(E1 e1, E2 e2) { try { return applyx(e1, e2); } catch (IgniteCheckedException e) { throw F.wrap(e); } }