Class GridCacheUpdateAtomicResult


  • public class GridCacheUpdateAtomicResult
    extends Object
    Cache entry atomic update result.
    • Method Detail

      • computedResult

        @Nullable
        public @Nullable IgniteBiTuple<Object,​Exception> computedResult()
        Returns:
        Value computed by the EntryProcessor.
      • success

        public boolean success()
        Returns:
        Success flag.
      • oldValue

        @Nullable
        public @Nullable CacheObject oldValue()
        Returns:
        Old value.
      • newValue

        @Nullable
        public @Nullable CacheObject newValue()
        Returns:
        New value.
      • updateCounter

        public long updateCounter()
        Returns:
        Partition update index.
      • conflictExpireTime

        public long conflictExpireTime()
        Returns:
        Explicit conflict expire time (if any). Set only if it is necessary to propagate concrete expire time value to DHT node. Otherwise set to GridCacheUtils.EXPIRE_TIME_CALCULATE.
      • removeVersion

        @Nullable
        public @Nullable GridCacheVersion removeVersion()
        Returns:
        Version for deferred delete.
      • conflictResolveResult

        @Nullable
        public @Nullable GridCacheVersionConflictContext<?,​?> conflictResolveResult()
        Returns:
        DR conflict resolution context.
      • sendToDht

        public boolean sendToDht()
        Returns:
        Whether update should be propagated to DHT node.
      • transformed

        public boolean transformed()
        Returns:
        True if transformed.