Class Truncate

All Implemented Interfaces:
JsonType

public class Truncate extends Command
Command to truncate a message log and its associated tracking positions.

The command is handled by the gateway endpoint that receives it, so the target log is defined by the websocket endpoint rather than by fields in the command payload.

  • Constructor Details

    • Truncate

      public Truncate()
  • Method Details

    • getGuarantee

      public Guarantee getGuarantee()
      Description copied from class: Command
      Indicates the delivery guarantee required for this command.
      Specified by:
      getGuarantee in class Command
      Returns:
      the Guarantee level (e.g. STORED, SENT, NONE)