public class GridNearAtomicUpdateFuture extends GridNearAtomicAbstractUpdateFuture
cache, cctx, err, expiryPlc, filter, futId, invokeArgs, keepBinary, log, msgLog, nearEnabled, op, opRes, rawRetval, recovery, remapCnt, remapTopVer, retval, skipStore, subjId, syncMode, taskNameHash, topLocked, topVer| Constructor and Description |
|---|
GridNearAtomicUpdateFuture(GridCacheContext cctx,
GridDhtAtomicCache cache,
CacheWriteSynchronizationMode syncMode,
GridCacheOperation op,
Collection<?> keys,
@Nullable Collection<?> vals,
@Nullable Object[] invokeArgs,
@Nullable Collection<GridCacheDrInfo> conflictPutVals,
@Nullable Collection<GridCacheVersion> conflictRmvVals,
boolean retval,
boolean rawRetval,
@Nullable javax.cache.expiry.ExpiryPolicy expiryPlc,
CacheEntryPredicate[] filter,
UUID subjId,
int taskNameHash,
boolean skipStore,
boolean keepBinary,
boolean recovery,
int remapCnt) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
map(AffinityTopologyVersion topVer) |
protected void |
mapOnTopology()
Maps future on ready topology.
|
void |
onDhtResponse(UUID nodeId,
GridDhtAtomicNearResponse res) |
boolean |
onNodeLeft(UUID nodeId)
Callback for when node left.
|
void |
onPrimaryResponse(UUID nodeId,
GridNearAtomicUpdateResponse res,
boolean nodeErr)
Response callback.
|
String |
toString() |
completeFuture, futureId, map, markNotTrackable, onDone, trackableduration, onDone, startTimecancel, chain, chain, error, get, get, get, getUninterruptibly, ignoreInterrupts, isCancelled, isDone, isFailed, listen, logger, onCancelled, 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 GridNearAtomicUpdateFuture(GridCacheContext cctx, GridDhtAtomicCache cache, CacheWriteSynchronizationMode syncMode, GridCacheOperation op, Collection<?> keys, @Nullable @Nullable Collection<?> vals, @Nullable @Nullable Object[] invokeArgs, @Nullable @Nullable Collection<GridCacheDrInfo> conflictPutVals, @Nullable @Nullable Collection<GridCacheVersion> conflictRmvVals, boolean retval, boolean rawRetval, @Nullable @Nullable javax.cache.expiry.ExpiryPolicy expiryPlc, CacheEntryPredicate[] filter, UUID subjId, int taskNameHash, boolean skipStore, boolean keepBinary, boolean recovery, int remapCnt)
cctx - Cache context.cache - Cache instance.syncMode - Write synchronization mode.op - Update operation.keys - Keys to update.vals - Values or transform closure.invokeArgs - Optional arguments for entry processor.conflictPutVals - Conflict put values (optional).conflictRmvVals - Conflict remove values (optional).retval - Return value require flag.rawRetval - True if should return GridCacheReturn as future result.expiryPlc - Expiry policy explicitly specified for cache operation.filter - Entry filter.subjId - Subject ID.taskNameHash - Task name hash code.skipStore - Skip store flag.keepBinary - Keep binary flag.remapCnt - Maximum number of retries.public boolean onNodeLeft(UUID nodeId)
nodeId - Left node ID.True if future cared about this node.public void onDhtResponse(UUID nodeId, GridDhtAtomicNearResponse res)
onDhtResponse in class GridNearAtomicAbstractUpdateFuturenodeId - Node ID.res - Response.public void onPrimaryResponse(UUID nodeId, GridNearAtomicUpdateResponse res, boolean nodeErr)
onPrimaryResponse in class GridNearAtomicAbstractUpdateFuturenodeId - Node ID.res - Update response.nodeErr - True if response was created on node failure.protected void mapOnTopology()
mapOnTopology in class GridNearAtomicAbstractUpdateFutureprotected void map(AffinityTopologyVersion topVer)
map in class GridNearAtomicAbstractUpdateFuturetopVer - Topology version.public String toString()
toString in class GridNearAtomicAbstractUpdateFuture
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020