public class WebSocketEventStoreClient extends AbstractWebsocketClient implements EventStoreClient
AbstractWebsocketClient.WebSocketRequest| Constructor and Description |
|---|
WebSocketEventStoreClient(String endPointUrl) |
WebSocketEventStoreClient(String endPointUrl,
int backlogSize) |
WebSocketEventStoreClient(URI endPointUri,
int backlogSize,
int fetchBatchSize) |
| Modifier and Type | Method and Description |
|---|---|
Stream<SerializedMessage> |
getEvents(String aggregateId,
long lastSequenceNumber) |
Awaitable |
storeEvents(String aggregateId,
String domain,
long lastSequenceNumber,
List<SerializedMessage> events) |
close, getSession, isOpen, onClose, onError, onMessage, retryOutstandingRequests, send, sendRequestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic WebSocketEventStoreClient(String endPointUrl)
public WebSocketEventStoreClient(String endPointUrl, int backlogSize)
public WebSocketEventStoreClient(URI endPointUri, int backlogSize, int fetchBatchSize)
public Awaitable storeEvents(String aggregateId, String domain, long lastSequenceNumber, List<SerializedMessage> events)
storeEvents in interface EventStoreClientpublic Stream<SerializedMessage> getEvents(String aggregateId, long lastSequenceNumber)
getEvents in interface EventStoreClientCopyright © 2019 Flux Capacitor. All rights reserved.