public class GridCacheUpdateAtomicResult extends Object
| Constructor and Description |
|---|
GridCacheUpdateAtomicResult(boolean success,
CacheObject oldVal,
CacheObject newVal,
IgniteBiTuple<Object,Exception> res,
long newTtl,
long conflictExpireTime,
GridCacheVersion rmvVer,
GridCacheVersionConflictContext<?,?> conflictRes,
boolean sndToDht,
long updateCntr)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteBiTuple<Object,Exception> |
computedResult() |
long |
conflictExpireTime() |
GridCacheVersionConflictContext<?,?> |
conflictResolveResult() |
long |
newTtl() |
CacheObject |
newValue() |
CacheObject |
oldValue() |
GridCacheVersion |
removeVersion() |
boolean |
sendToDht() |
boolean |
success() |
String |
toString() |
long |
updateCounter() |
public GridCacheUpdateAtomicResult(boolean success,
@Nullable
CacheObject oldVal,
@Nullable
CacheObject newVal,
@Nullable
IgniteBiTuple<Object,Exception> res,
long newTtl,
long conflictExpireTime,
@Nullable
GridCacheVersion rmvVer,
@Nullable
GridCacheVersionConflictContext<?,?> conflictRes,
boolean sndToDht,
long updateCntr)
success - Success flag.oldVal - Old value.newVal - New value.res - Value computed by the EntryProcessor.newTtl - New TTL.conflictExpireTime - Explicit DR expire time (if any).rmvVer - Version for deferred delete.conflictRes - DR resolution result.sndToDht - Whether update should be propagated to DHT node.updateCntr - Partition update counter.@Nullable public IgniteBiTuple<Object,Exception> computedResult()
EntryProcessor.public boolean success()
@Nullable public CacheObject oldValue()
@Nullable public CacheObject newValue()
public long newTtl()
GridCacheUtils.TTL_NOT_CHANGED if TTL did not change, otherwise new TTL.public long updateCounter()
public long conflictExpireTime()
GridCacheUtils.EXPIRE_TIME_CALCULATE.@Nullable public GridCacheVersion removeVersion()
@Nullable public GridCacheVersionConflictContext<?,?> conflictResolveResult()
public boolean sendToDht()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.7.0 Release Date : August 1 2016