public class InMemorySchedulingClient extends InMemoryMessageStore implements SchedulingClient
| Constructor and Description |
|---|
InMemorySchedulingClient() |
| Modifier and Type | Method and Description |
|---|---|
Awaitable |
cancelSchedule(String scheduleId) |
MessageBatch |
readAndWait(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, disconnectTracker, read, readFromIndex, registerMonitor, resetPositionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic MessageBatch readAndWait(String consumer, int channel, int maxSize, Duration maxTimeout, String typeFilter, boolean ignoreMessageTarget, TrackingStrategy readStrategy)
readAndWait in interface TrackingClientreadAndWait 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.