/** * Send batch request to remote data node. * * @param batchId Id of a batch mini-future. * @param nodeId Node id. * @param batchFut Mini-future for the batch. * @param clientFirst {@code true} if originating node is client and it is a first request to any data node. */ private void sendBatch(int batchId, UUID nodeId, Batch batchFut, boolean clientFirst) throws IgniteCheckedException { assert batchFut != null; GridNearTxQueryResultsEnlistRequest req = new GridNearTxQueryResultsEnlistRequest(cctx.cacheId(), threadId, futId, batchId, tx.subjectId(), topVer, lockVer, mvccSnapshot, clientFirst, remainingTime(), tx.remainingTime(), tx.taskNameHash(), batchFut.rows(), it.operation()); sendRequest(req, nodeId); }
/** * Send batch request to remote data node. * * @param batchId Id of a batch mini-future. * @param nodeId Node id. * @param batchFut Mini-future for the batch. * @param clientFirst {@code true} if originating node is client and it is a first request to any data node. */ private void sendBatch(int batchId, UUID nodeId, Batch batchFut, boolean clientFirst) throws IgniteCheckedException { assert batchFut != null; GridNearTxEnlistRequest req = new GridNearTxEnlistRequest(cctx.cacheId(), threadId, futId, batchId, tx.subjectId(), topVer, lockVer, mvccSnapshot, clientFirst, remainingTime(), tx.remainingTime(), tx.taskNameHash(), batchFut.rows(), it.operation(), needRes, keepBinary, filter ); sendRequest(req, nodeId); }
tx.remainingTime(), -1, this.tx.subjectId(), this.tx.taskNameHash(), false,
tx.remainingTime(), -1, this.tx.subjectId(), this.tx.taskNameHash(), false,
inTx() ? tx.size() : mappedKeys.size(), inTx() && tx.syncMode() == FULL_SYNC, inTx() ? tx.subjectId() : null, inTx() ? tx.taskNameHash() : 0, read ? createTtl : -1L,
tx.implicitSingle(), m.explicitLock(), tx.subjectId(), tx.taskNameHash(), m.clientFirst(),
inTx() ? tx.size() : mappedKeys.size(), inTx() && tx.syncMode() == FULL_SYNC, inTx() ? tx.subjectId() : null, inTx() ? tx.taskNameHash() : 0, read ? createTtl : -1L,
tx.implicitSingle(), m.explicitLock(), tx.subjectId(), tx.taskNameHash(), false,
futId, ++idx, tx.subjectId(), topVer, lockVer,
tx.implicitSingle(), m.explicitLock(), tx.subjectId(), tx.taskNameHash(), m.clientFirst(),
null, tx.size(), tx.subjectId(), tx.taskNameHash(), tx.mvccSnapshot(),
/** * Send batch request to remote data node. * * @param batchId Id of a batch mini-future. * @param nodeId Node id. * @param batchFut Mini-future for the batch. * @param clientFirst {@code true} if originating node is client and it is a first request to any data node. */ private void sendBatch(int batchId, UUID nodeId, Batch batchFut, boolean clientFirst) throws IgniteCheckedException { assert batchFut != null; GridNearTxQueryResultsEnlistRequest req = new GridNearTxQueryResultsEnlistRequest(cctx.cacheId(), threadId, futId, batchId, tx.subjectId(), topVer, lockVer, mvccSnapshot, clientFirst, remainingTime(), tx.remainingTime(), tx.taskNameHash(), batchFut.rows(), it.operation()); sendRequest(req, nodeId); }
/** * Send batch request to remote data node. * * @param batchId Id of a batch mini-future. * @param nodeId Node id. * @param batchFut Mini-future for the batch. * @param clientFirst {@code true} if originating node is client and it is a first request to any data node. */ private void sendBatch(int batchId, UUID nodeId, Batch batchFut, boolean clientFirst) throws IgniteCheckedException { assert batchFut != null; GridNearTxEnlistRequest req = new GridNearTxEnlistRequest(cctx.cacheId(), threadId, futId, batchId, tx.subjectId(), topVer, lockVer, mvccSnapshot, clientFirst, remainingTime(), tx.remainingTime(), tx.taskNameHash(), batchFut.rows(), it.operation(), needRes, filter ); sendRequest(req, nodeId); }
tx.remainingTime(), -1, this.tx.subjectId(), this.tx.taskNameHash(), false);
tx.remainingTime(), -1, this.tx.subjectId(), this.tx.taskNameHash(), false);
tx.implicitSingle(), m.explicitLock(), tx.subjectId(), tx.taskNameHash(), m.clientFirst(),
tx.implicitSingle(), m.explicitLock(), tx.subjectId(), tx.taskNameHash(), false,
futId, ++idx, tx.subjectId(), topVer, lockVer,
tx.implicitSingle(), m.explicitLock(), tx.subjectId(), tx.taskNameHash(), m.clientFirst(),
null, tx.size(), tx.subjectId(), tx.taskNameHash(), tx.mvccSnapshot(),