Class TestServerScheduleStore

java.lang.Object
io.fluxcapacitor.testserver.scheduling.TestServerScheduleStore
All Implemented Interfaces:
io.fluxcapacitor.common.Monitored<List<io.fluxcapacitor.common.api.SerializedMessage>>, io.fluxcapacitor.common.tracking.MessageStore, SchedulingClient, AutoCloseable

public class TestServerScheduleStore extends Object implements io.fluxcapacitor.common.tracking.MessageStore, SchedulingClient
  • Constructor Details

  • Method Details

    • schedule

      public CompletableFuture<Void> schedule(io.fluxcapacitor.common.Guarantee guarantee, io.fluxcapacitor.common.api.scheduling.SerializedSchedule... schedules)
      Specified by:
      schedule in interface SchedulingClient
    • getBatch

      public List<io.fluxcapacitor.common.api.SerializedMessage> getBatch(Long minIndex, int maxSize)
      Specified by:
      getBatch in interface io.fluxcapacitor.common.tracking.MessageStore
    • getBatch

      public List<io.fluxcapacitor.common.api.SerializedMessage> getBatch(Long minIndex, int maxSize, boolean inclusive)
      Specified by:
      getBatch in interface io.fluxcapacitor.common.tracking.MessageStore
    • rescheduleNextDeadline

      protected void rescheduleNextDeadline(long nextIndex)