public class InMemorySchedulingClient extends InMemoryMessageStore implements SchedulingClient
| Constructor and Description |
|---|
InMemorySchedulingClient() |
| Modifier and Type | Method and Description |
|---|---|
Awaitable |
cancelSchedule(String scheduleId) |
MessageBatch |
read(String consumer,
int channel,
int maxSize,
Duration maxTimeout,
String typeFilter,
boolean ignoreMessageTarget,
TrackingStrategy readStrategy) |
Awaitable |
schedule(ScheduledMessage... schedules) |
Awaitable |
send(SerializedMessage... messages) |
Awaitable |
storePosition(String consumer,
int[] segment,
long lastIndex) |
close, registerMonitorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic MessageBatch read(String consumer, int channel, int maxSize, Duration maxTimeout, String typeFilter, boolean ignoreMessageTarget, TrackingStrategy readStrategy)
read in interface TrackingClientread in class InMemoryMessageStorepublic Awaitable storePosition(String consumer, int[] segment, long lastIndex)
storePosition in interface TrackingClientstorePosition in class InMemoryMessageStorepublic Awaitable schedule(ScheduledMessage... schedules)
schedule in interface SchedulingClientpublic Awaitable cancelSchedule(String scheduleId)
cancelSchedule in interface SchedulingClientpublic Awaitable send(SerializedMessage... messages)
send in interface GatewayClientsend in class InMemoryMessageStoreCopyright © 2019 Flux Capacitor. All rights reserved.