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)
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() |
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)
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.@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 conflictExpireTime()
GridCacheUtils.EXPIRE_TIME_CALCULATE.@Nullable public GridCacheVersion removeVersion()
@Nullable public GridCacheVersionConflictContext<?,?> conflictResolveResult()
public boolean sendToDht()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.1.0-incubating Release Date : May 20 2015