public interface EventStoreManagement
Modifier and Type | Method and Description |
---|---|
CriteriaBuilder |
newCriteriaBuilder()
Returns a CriteriaBuilder that allows the construction of criteria for this EventStore implementation
|
void |
visitEvents(Criteria criteria,
EventVisitor visitor)
Loads all events available in the event store that match the given
criteria and calls EventVisitor.doWithEvent(org.axonframework.domain.DomainEventMessage) for each event found. |
void |
visitEvents(EventVisitor visitor)
Loads all events available in the event store and calls
EventVisitor.doWithEvent(org.axonframework.domain.DomainEventMessage)
for each event found. |
void visitEvents(EventVisitor visitor)
EventVisitor.doWithEvent(org.axonframework.domain.DomainEventMessage)
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.visitor
- The visitor the receives each loaded eventvoid visitEvents(Criteria criteria, EventVisitor visitor)
criteria
and calls EventVisitor.doWithEvent(org.axonframework.domain.DomainEventMessage)
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.criteria
- The criteria describing the events to selectvisitor
- The visitor the receives each loaded eventnewCriteriaBuilder()
CriteriaBuilder newCriteriaBuilder()
visitEvents(Criteria, org.axonframework.eventstore.EventVisitor)
Copyright © 2010-2014. All Rights Reserved.