public abstract static class MemoryEventStoreService.MemoryEventStoreMixin extends AbstractEventStoreMixin implements EventSource, EventStoreActivation
EventStoreActivation.ActivatordomainEventType, eventsType, identity, lock, logger, module| Constructor and Description |
|---|
MemoryEventStoreService.MemoryEventStoreMixin() |
| Modifier and Type | Method and Description |
|---|---|
long |
count() |
Input<UnitOfWorkDomainEventsValue,IOException> |
events(long offset,
long limit)
Get list of UnitOfWorkDomainEventsValue after the given offset.
|
protected Output<UnitOfWorkDomainEventsValue,IOException> |
storeEvents0() |
activateEventStore, lock, passivateEventStore, registerListener, storeEvents, unregisterListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactivateEventStore, passivateEventStorepublic MemoryEventStoreService.MemoryEventStoreMixin()
public Input<UnitOfWorkDomainEventsValue,IOException> events(long offset, long limit)
EventSourceTo get the first set of events, use 0 as offset parameter to get events from the start.
events in interface EventSourceoffset - where in the list of events to startlimit - maximum number of events returnedpublic long count()
count in interface EventSourceprotected Output<UnitOfWorkDomainEventsValue,IOException> storeEvents0()
storeEvents0 in class AbstractEventStoreMixin