Class Truncate
java.lang.Object
io.fluxzero.common.api.Request
io.fluxzero.common.api.Command
io.fluxzero.common.api.publishing.Truncate
- All Implemented Interfaces:
JsonType
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIndicates the delivery guarantee required for this command.Methods inherited from class Command
routingKey
-
Constructor Details
-
Truncate
public Truncate()
-
-
Method Details
-
getGuarantee
Description copied from class:CommandIndicates the delivery guarantee required for this command.- Specified by:
getGuaranteein classCommand- Returns:
- the
Guaranteelevel (e.g.STORED,SENT,NONE)
-