org.qi4j.library.eventsourcing.domain.source
Interface EventStream
- All Known Subinterfaces:
- JdbmEventStoreService, MemoryEventStoreService
- All Known Implementing Classes:
- AbstractEventStoreMixin, JdbmEventStoreService.JdbmEventStoreMixin, MemoryEventStoreService.MemoryEventStoreMixin
public interface EventStream
Stream of event transactions. Registering with a stream will
allow the subscriber to get callbacks when new transactions
are available. The callbacks are done asynchronously.
registerListener
void registerListener(UnitOfWorkEventsListener listener)
unregisterListener
void unregisterListener(UnitOfWorkEventsListener listener)