/** * @param cacheCtx Cache context. * @param it Entries iterator. * @param pageSize Page size. * @param timeout Timeout. * @param sequential Sequential locking flag. * @return Operation future. */ public IgniteInternalFuture<Long> updateAsync(GridCacheContext cacheCtx, UpdateSourceIterator<?> it, int pageSize, long timeout, boolean sequential) { try { beforePut(cacheCtx, false, true); return updateAsync(new GridNearTxQueryResultsEnlistFuture(cacheCtx, this, timeout, it, pageSize, sequential)); } catch (IgniteCheckedException e) { return new GridFinishedFuture(e); } catch (RuntimeException e) { onException(); throw e; } }
beforePut(cacheCtx, false, true); return updateAsync(new GridNearTxQueryEnlistFuture( cacheCtx, this,
return updateAsync(cacheCtx, new UpdateSourceIterator<IgniteBiTuple<KeyCacheObject, Object>>() {
return updateAsync(cacheCtx, new UpdateSourceIterator<KeyCacheObject>() {
IgniteInternalFuture<Long> fut = tx.updateAsync(cctx, it, fieldsQry.getPageSize(), timeout, sequential); IgniteInternalFuture<Long> fut = tx.updateAsync( cctx, ids,
/** * @param cacheCtx Cache context. * @param it Entries iterator. * @param pageSize Page size. * @param timeout Timeout. * @param sequential Sequential locking flag. * @return Operation future. */ public IgniteInternalFuture<Long> updateAsync(GridCacheContext cacheCtx, UpdateSourceIterator<?> it, int pageSize, long timeout, boolean sequential) { try { beforePut(cacheCtx, false, true); return updateAsync(new GridNearTxQueryResultsEnlistFuture(cacheCtx, this, timeout, it, pageSize, sequential)); } catch (IgniteCheckedException e) { return new GridFinishedFuture(e); } catch (RuntimeException e) { onException(); throw e; } }
beforePut(cacheCtx, false, true); return updateAsync(new GridNearTxQueryEnlistFuture( cacheCtx, this,
return updateAsync(cacheCtx, new UpdateSourceIterator<IgniteBiTuple<KeyCacheObject, Message>>() {
return updateAsync(cacheCtx, new UpdateSourceIterator<KeyCacheObject>() {
IgniteInternalFuture<Long> fut = tx.updateAsync(cctx, it, fieldsQry.getPageSize(), timeout, sequential); IgniteInternalFuture<Long> fut = tx.updateAsync( cctx, ids,