/** {@inheritDoc} */ @Override public long getAndIncrement() { try { return internalUpdate(1, getAndIncCall, false); } catch (IgniteCheckedException e) { throw U.convertException(e); } }
/** {@inheritDoc} */ @Override public long incrementAndGet() { try { return internalUpdate(1, incAndGetCall, true); } catch (IgniteCheckedException e) { throw U.convertException(e); } }
/** {@inheritDoc} */ @Override public long getAndAdd(long l) { A.ensure(l > 0, " Parameter mustn't be less then 1: " + l); try { return internalUpdate(l, null, false); } catch (IgniteCheckedException e) { throw U.convertException(e); } }
/** {@inheritDoc} */ @Override public long addAndGet(long l) { A.ensure(l > 0, " Parameter mustn't be less then 1: " + l); try { return internalUpdate(l, null, true); } catch (IgniteCheckedException e) { throw U.convertException(e); } }
updateCall = internalUpdate(l, updated);
/** {@inheritDoc} */ @Override public long incrementAndGet() { try { return internalUpdate(1, incAndGetCall, true); } catch (IgniteCheckedException e) { throw U.convertException(e); } }
/** {@inheritDoc} */ @Override public long getAndIncrement() { try { return internalUpdate(1, getAndIncCall, false); } catch (IgniteCheckedException e) { throw U.convertException(e); } }
/** {@inheritDoc} */ @Override public long addAndGet(long l) { A.ensure(l > 0, " Parameter mustn't be less then 1: " + l); try { return internalUpdate(l, null, true); } catch (IgniteCheckedException e) { throw U.convertException(e); } }
/** {@inheritDoc} */ @Override public long getAndAdd(long l) { A.ensure(l > 0, " Parameter mustn't be less then 1: " + l); try { return internalUpdate(l, null, false); } catch (IgniteCheckedException e) { throw U.convertException(e); } }
updateCall = internalUpdate(l, updated);