Class ScheduledCommand

java.lang.Object
io.fluxcapacitor.javaclient.scheduling.ScheduledCommand

public class ScheduledCommand extends Object
Wrapper for a serialized command message scheduled for deferred execution.

This class is used by the ScheduledCommandHandler to encapsulate a SerializedMessage representing a command that should be dispatched at a future point in time.

Instances of this class are typically created by the MessageScheduler via helper methods like FluxCapacitor.scheduleCommand(java.lang.Object, java.time.Instant).

See Also:
  • Constructor Details

    • ScheduledCommand

      public ScheduledCommand()