org.axonframework.eventstore
Interface EventStoreManagement
- All Known Implementing Classes:
- JpaEventStore, MongoEventStore
public interface EventStoreManagement
Interface describing operations useful for management purposes. These operations are typically used in migration
scripts when deploying new versions of applications.
- Since:
- 0.6
- Author:
- Allard Buijze
visitEvents
void visitEvents(EventVisitor visitor)
- Loads all events available in the event store and calls
EventVisitor.doWithEvent(org.axonframework.domain.DomainEvent)
for each event found. Events of a single aggregate are guaranteed to be ordered by their sequence number.
Implementations are encouraged, though not required, to supply events in the absolute chronological order.
Processing stops when the visitor throws an exception.
- Parameters:
visitor - The visitor the receives each loaded event
Copyright © 2011. All Rights Reserved.