Class BackupNoopCommand

All Implemented Interfaces:
CacheRpcCommand, ReplicableCommand, TracedCommand, VersionAware

@ProtoTypeId(1024) public class BackupNoopCommand extends BackupWriteCommand
A command that tell a backup owner to ignore a sequence id after the primary failed to send a regular write command.
Since:
12.1
Author:
Dan Berindei
  • Constructor Details

    • BackupNoopCommand

      public BackupNoopCommand(ByteString cacheName, WriteCommand command, long sequence, int segmentId)
  • Method Details

    • supportedSince

      public NodeVersion supportedSince()
      Description copied from interface: ReplicableCommand
      Returns a NodeVersion representing the Infinispan version in which this command was added. This value is used to ensure that when the cluster contains different Infinispan versions, only commands compatible with the oldest version are transmitted.

      Abstract classes should not implement this method as the version should be specific to an individual implementation. Similarly, implementations which extend another ReplicableCommand should always override this method.

      Returns:
      a NodeVersion corresponding to the Infinispan version this command was added.
    • toString

      public String toString()
      Overrides:
      toString in class BaseRpcCommand