Constructor and Description |
---|
ArchivedEventStream(int archiveSize) |
Modifier and Type | Method and Description |
---|---|
List<T> |
archive() |
List<F.IndexedEvent> |
availableEvents(long lastEventSeen) |
F.EventStream<T> |
eventStream() |
F.Promise<List<F.IndexedEvent<T>>> |
nextEvents(long lastEventSeen) |
void |
publish(T event) |
public F.EventStream<T> eventStream()
public F.Promise<List<F.IndexedEvent<T>>> nextEvents(long lastEventSeen)
public List<F.IndexedEvent> availableEvents(long lastEventSeen)
public void publish(T event)
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly