public class GridCacheUpdateAtomicResult<K,V> extends Object
| Constructor and Description |
|---|
GridCacheUpdateAtomicResult(boolean success,
V oldVal,
V newVal,
javax.cache.processor.EntryProcessorResult<?> res,
long newTtl,
long drExpireTime,
GridCacheVersion rmvVer,
GridCacheVersionConflictContext<K,V> drRes,
boolean sndToDht)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
javax.cache.processor.EntryProcessorResult<?> |
computedResult() |
long |
drExpireTime() |
GridCacheVersionConflictContext<K,V> |
drResolveResult() |
long |
newTtl() |
V |
newValue() |
V |
oldValue() |
GridCacheVersion |
removeVersion() |
boolean |
sendToDht() |
boolean |
success() |
String |
toString() |
public GridCacheUpdateAtomicResult(boolean success,
@Nullable
V oldVal,
@Nullable
V newVal,
@Nullable
javax.cache.processor.EntryProcessorResult<?> res,
long newTtl,
long drExpireTime,
@Nullable
GridCacheVersion rmvVer,
@Nullable
GridCacheVersionConflictContext<K,V> drRes,
boolean sndToDht)
success - Success flag.oldVal - Old value.newVal - New value.res - Value computed by the EntryProcessor.newTtl - New TTL.drExpireTime - Explicit DR expire time (if any).rmvVer - Version for deferred delete.drRes - DR resolution result.sndToDht - Whether update should be propagated to DHT node.@Nullable public javax.cache.processor.EntryProcessorResult<?> computedResult()
EntryProcessor.public boolean success()
public long newTtl()
-1 if TTL did not change, otherwise new TTL.public long drExpireTime()
@Nullable public GridCacheVersion removeVersion()
@Nullable public GridCacheVersionConflictContext<K,V> drResolveResult()
public boolean sendToDht()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 17 2015