Class SerializedSchedule

java.lang.Object
io.fluxcapacitor.common.api.scheduling.SerializedSchedule

public class SerializedSchedule extends Object
Represents a scheduled message to be delivered at a specific timestamp.

If a schedule with the same scheduleId already exists:

  • It will be replaced by this schedule if ifAbsent is false (default behavior).
  • It will be preserved (this one ignored) if ifAbsent is true.
See Also:
  • Constructor Details

    • SerializedSchedule

      public SerializedSchedule()
  • Method Details

    • toMetric

      public SerializedSchedule.Metric toMetric()
      Returns a lightweight metric representation of this schedule for monitoring purposes.