Class PushAsIsCommand

All Implemented Interfaces:
Command<Revision>

public final class PushAsIsCommand extends AbstractPushCommand<Revision>
A Command which is used replicate a NormalizingPushCommand to other replicas. Unlike NormalizingPushCommand, the changes of this Command are not normalized and applied as they are.
  • Method Details

    • type

      public final CommandType type()
      Description copied from interface: Command
      Returns the CommandType of the command.
      Specified by:
      type in interface Command<T>
    • timestamp

      public final long timestamp()
      Description copied from interface: Command
      Returns the time when performing the command, in milliseconds.
      Specified by:
      timestamp in interface Command<T>
    • author

      public final Author author()
      Description copied from interface: Command
      Returns the author who initiated the command.
      Specified by:
      author in interface Command<T>
    • toString

      public final String toString()
      Overrides:
      toString in class Object