Class ApplyDeltaCommand

    • Constructor Detail

      • ApplyDeltaCommand

        public ApplyDeltaCommand()
        Deprecated.
    • Method Detail

      • getDelta

        public Delta getDelta()
        Deprecated.
      • perform

        public Object perform​(InvocationContext ctx)
                       throws Throwable
        Deprecated.
        Performs an application of delta on a specified entry
        Parameters:
        ctx - invocation context
        Returns:
        null
        Throws:
        Throwable - in the event of problems.
      • getCommandId

        public byte getCommandId()
        Deprecated.
        Description copied from interface: ReplicableCommand
        Used by marshallers to convert this command into an id for streaming.
        Returns:
        the method id of this command. This is compatible with pre-2.2.0 MethodCall ids.
      • acceptVisitor

        public Object acceptVisitor​(InvocationContext ctx,
                                    Visitor visitor)
                             throws Throwable
        Deprecated.
        Description copied from interface: VisitableCommand
        Accept a visitor, and return the result of accepting this visitor.
        Parameters:
        ctx - invocation context
        visitor - visitor to accept
        Returns:
        arbitrary return value
        Throws:
        Throwable - in the event of problems
      • getKeys

        public Object[] getKeys()
        Deprecated.
      • getCompositeKeys

        public Object[] getCompositeKeys()
        Deprecated.
      • loadType

        public VisitableCommand.LoadType loadType()
        Deprecated.
        Returns:
        Nodes on which the command needs to read the previous values of the keys it acts on.
      • isSuccessful

        public boolean isSuccessful()
        Deprecated.
        Description copied from interface: WriteCommand
        Some commands may want to provide information on whether the command was successful or not. This is different from a failure, which usually would result in an exception being thrown. An example is a putIfAbsent() not doing anything because the key in question was present. This would result in a isSuccessful() call returning false.
        Returns:
        true if the command completed successfully, false otherwise.
      • isConditional

        public boolean isConditional()
        Deprecated.
        Description copied from interface: WriteCommand
        Certain commands only work based on a certain condition or state of the cache. For example, ConcurrentMap.putIfAbsent(Object, Object) only does anything if a condition is met, i.e., the entry in question is not already present. This method tests whether the command in question is conditional or not.
        Returns:
        true if the command is conditional, false otherwise
      • getValueMatcher

        public ValueMatcher getValueMatcher()
        Deprecated.
        Returns:
        The current value matching policy.
      • setValueMatcher

        public void setValueMatcher​(ValueMatcher valueMatcher)
        Deprecated.
        Parameters:
        valueMatcher - The new value matching policy.