Class RemoveCommand

All Implemented Interfaces:
DataCommand, FlagAffectedCommand, MetadataAwareCommand, ReplicableCommand, SegmentSpecificCommand, TopologyAffectedCommand, TracedCommand, VisitableCommand, DataWriteCommand, WriteCommand, RemoteLockCommand
Direct Known Subclasses:
EvictCommand, RemoveExpiredCommand

public class RemoveCommand extends AbstractDataWriteCommand implements MetadataAwareCommand
Since:
4.0
Author:
Mircea.Markus@jboss.com, Galder Zamarreno
  • Field Details

    • COMMAND_ID

      public static final byte COMMAND_ID
      See Also:
    • successful

      protected boolean successful
    • metadata

      protected Metadata metadata
    • valueMatcher

      protected ValueMatcher valueMatcher
    • value

      protected Object value
      When not null, value indicates that the entry should only be removed if the key is mapped to this value. When null, the entry should be removed regardless of what value it is mapped to.
  • Constructor Details

    • RemoveCommand

      public RemoveCommand(Object key, Object value, boolean returnEntry, int segment, long flagsBitSet, CommandInvocationId commandInvocationId)
    • RemoveCommand

      public RemoveCommand()
  • Method Details