public class GridNearTxQueryResultsEnlistFuture extends GridNearTxQueryAbstractEnlistFuture
| Modifier and Type | Field and Description |
|---|---|
static int |
DFLT_BATCH_SIZE |
cctx, futId, lockVer, log, mvccSnapshot, threadId, timeout, timeoutObj, topVer, tx| Constructor and Description |
|---|
GridNearTxQueryResultsEnlistFuture(GridCacheContext<?,?> cctx,
GridNearTxLocal tx,
long timeout,
UpdateSourceIterator<?> it,
int batchSize,
boolean sequential) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkResponse(UUID nodeId,
GridNearTxQueryResultsEnlistResponse res,
Throwable err) |
protected void |
map(boolean topLocked)
Start iterating the data rows and form batches.
|
boolean |
onNodeLeft(UUID nodeId)
Callback for when node left.
|
void |
onResult(UUID nodeId,
GridNearTxQueryResultsEnlistResponse res) |
Set<UUID> |
pendingResponseNodes() |
String |
toString() |
checkCompleted, clearLocalFuture, futureId, init, logDebug, logError, markNotTrackable, onCancelled, onDone, onOwnerChanged, remainingTime, timeoutException, trackable, updateLocalFuture, updateMappings, versionduration, startTimeadd, apply, cancel, clear, future, futures, futuresCountNoLock, hasFutures, hasPending, ignoreFailure, initialized, markInitialized, processFailurechain, chain, error, get, get, get, getUninterruptibly, ignoreInterrupts, isCancelled, isDone, isFailed, listen, logger, onDone, onDone, onDone, onDone, reset, resultclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitduration, startTimecancel, chain, chain, error, get, get, get, getUninterruptibly, isCancelled, isDone, listen, resultpublic static final int DFLT_BATCH_SIZE
public GridNearTxQueryResultsEnlistFuture(GridCacheContext<?,?> cctx, GridNearTxLocal tx, long timeout, UpdateSourceIterator<?> it, int batchSize, boolean sequential)
cctx - Cache context.tx - Transaction.timeout - Timeout.it - Rows iterator.batchSize - Batch size.sequential - Sequential locking flag.protected void map(boolean topLocked)
map in class GridNearTxAbstractEnlistFuture<Long>topLocked - Whether topology was already locked.public void onResult(UUID nodeId, GridNearTxQueryResultsEnlistResponse res)
nodeId - Sender node id.res - Response.public boolean onNodeLeft(UUID nodeId)
nodeId - Left node ID.True if future cared about this node.public boolean checkResponse(UUID nodeId, GridNearTxQueryResultsEnlistResponse res, Throwable err)
nodeId - Originating node ID.res - Response.err - Exception.True if future was completed by this call.public Set<UUID> pendingResponseNodes()
pendingResponseNodes in class GridNearTxAbstractEnlistFuture<Long>public String toString()
toString in class GridCompoundIdentityFuture<Long>
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020