public class GridNearTxEnlistFuture extends GridNearTxAbstractEnlistFuture<GridCacheReturn>
| Modifier and Type | Field and Description |
|---|---|
static int |
DFLT_BATCH_SIZE
Default batch size.
|
cctx, futId, lockVer, log, mvccSnapshot, threadId, timeout, timeoutObj, topVer, tx| Constructor and Description |
|---|
GridNearTxEnlistFuture(GridCacheContext<?,?> cctx,
GridNearTxLocal tx,
long timeout,
UpdateSourceIterator<?> it,
int batchSize,
boolean sequential,
@Nullable CacheEntryPredicate filter,
boolean needRes,
boolean keepBinary) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkResponse(UUID nodeId,
GridNearTxEnlistResponse 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,
GridNearTxEnlistResponse 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, compoundsLockedExclusively, compoundsReadLock, compoundsReadUnlock, future, futures, futuresCountNoLock, hasFutures, hasPending, ignoreFailure, initialized, markInitialized, processFailurechain, chain, chainCompose, chainCompose, 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, chainCompose, chainCompose, error, get, get, get, getUninterruptibly, isCancelled, isDone, listen, resultpublic static final int DFLT_BATCH_SIZE
public GridNearTxEnlistFuture(GridCacheContext<?,?> cctx, GridNearTxLocal tx, long timeout, UpdateSourceIterator<?> it, int batchSize, boolean sequential, @Nullable @Nullable CacheEntryPredicate filter, boolean needRes, boolean keepBinary)
cctx - Cache context.tx - Transaction.timeout - Timeout.it - Rows iterator.batchSize - Batch size.sequential - Sequential locking flag.filter - Filter.needRes - Need previous value flag.keepBinary - Keep binary flag.protected void map(boolean topLocked)
map in class GridNearTxAbstractEnlistFuture<GridCacheReturn>topLocked - Whether topology was already locked.public void onResult(UUID nodeId, GridNearTxEnlistResponse 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, GridNearTxEnlistResponse 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<GridCacheReturn>public String toString()
toString in class GridCompoundIdentityFuture<GridCacheReturn>
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023