Class InMemorySchedulingClient
java.lang.Object
io.fluxcapacitor.javaclient.tracking.client.InMemoryMessageStore
io.fluxcapacitor.javaclient.scheduling.client.InMemorySchedulingClient
- All Implemented Interfaces:
Monitored<MessageDispatch>,GatewayClient,SchedulingClient,TrackingClient,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasList(Map<Long, String> scheduleIdsByIndex, Serializer serializer) cancelSchedule(String scheduleId, Guarantee guarantee) protected Collection<SerializedMessage>filterMessages(Collection<SerializedMessage> messages) getSchedule(String scheduleId) getSchedules(Serializer serializer) protected voidpurgeExpiredMessages(Duration messageExpiration) removeExpiredSchedules(Serializer serializer) schedule(Guarantee guarantee, SerializedSchedule... schedules) send(Guarantee guarantee, SerializedMessage... messages) voidMethods inherited from class io.fluxcapacitor.javaclient.tracking.client.InMemoryMessageStore
claimSegment, close, disconnectTracker, disconnectTrackersMatching, getMessage, getPosition, read, read, readFromIndex, registerMonitor, resetPosition, shouldWait, storePositionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.fluxcapacitor.javaclient.scheduling.client.SchedulingClient
cancelSchedule, close, scheduleMethods inherited from interface io.fluxcapacitor.javaclient.tracking.client.TrackingClient
disconnectTracker, getMessageType, readAndWait, resetPosition, storePosition
-
Constructor Details
-
InMemorySchedulingClient
public InMemorySchedulingClient() -
InMemorySchedulingClient
-
-
Method Details
-
filterMessages
- Overrides:
filterMessagesin classInMemoryMessageStore
-
schedule
- Specified by:
schedulein interfaceSchedulingClient
-
cancelSchedule
- Specified by:
cancelSchedulein interfaceSchedulingClient
-
getSchedule
- Specified by:
getSchedulein interfaceSchedulingClient
-
send
- Specified by:
sendin interfaceGatewayClient- Overrides:
sendin classInMemoryMessageStore
-
setClock
-
getSchedules
-
removeExpiredSchedules
-
asList
-
purgeExpiredMessages
- Overrides:
purgeExpiredMessagesin classInMemoryMessageStore
-