public class GridNearAtomicSingleUpdateFuture 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 |
|---|
GridNearAtomicSingleUpdateFuture(GridCacheContext cctx,
GridDhtAtomicCache cache,
CacheWriteSynchronizationMode syncMode,
GridCacheOperation op,
Object key,
Object val,
Object[] invokeArgs,
boolean retval,
boolean rawRetval,
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 GridNearAtomicSingleUpdateFuture(GridCacheContext cctx, GridDhtAtomicCache cache, CacheWriteSynchronizationMode syncMode, GridCacheOperation op, Object key, @Nullable Object val, @Nullable Object[] invokeArgs, boolean retval, boolean rawRetval, @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.key - Keys to update.val - Values or transform closure.invokeArgs - Optional arguments for entry processor.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.recovery - True if cache operation is called in recovery mode.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 Fabric : ver. 2.6.0 Release Date : July 10 2018