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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<io.fluxcapacitor.common.api.SerializedMessage> List<io.fluxcapacitor.common.api.SerializedMessage> protected voidrescheduleNextDeadline(long nextIndex) schedule(io.fluxcapacitor.common.Guarantee guarantee, io.fluxcapacitor.common.api.scheduling.SerializedSchedule... schedules) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.fluxcapacitor.common.tracking.MessageStore
append, closeMethods inherited from interface io.fluxcapacitor.common.Monitored
registerMonitorMethods inherited from interface io.fluxcapacitor.javaclient.scheduling.client.SchedulingClient
cancelSchedule, cancelSchedule, close, getSchedule, schedule
-
Constructor Details
-
TestServerScheduleStore
-
-
Method Details
-
schedule
public CompletableFuture<Void> schedule(io.fluxcapacitor.common.Guarantee guarantee, io.fluxcapacitor.common.api.scheduling.SerializedSchedule... schedules) - Specified by:
schedulein interfaceSchedulingClient
-
getBatch
- Specified by:
getBatchin interfaceio.fluxcapacitor.common.tracking.MessageStore
-
getBatch
public List<io.fluxcapacitor.common.api.SerializedMessage> getBatch(Long minIndex, int maxSize, boolean inclusive) - Specified by:
getBatchin interfaceio.fluxcapacitor.common.tracking.MessageStore
-
rescheduleNextDeadline
protected void rescheduleNextDeadline(long nextIndex)
-