| Package | Description |
|---|---|
| org.axonframework.eventhandling |
Classes related to event handling and dispatching, such as
Event Listeners and the Event Bus. |
| org.axonframework.eventhandling.async |
| Modifier and Type | Method and Description |
|---|---|
SequencingPolicy<? super EventMessage<?>> |
SimpleEventHandlerInvoker.getSequencingPolicy() |
| Modifier and Type | Method and Description |
|---|---|
SimpleEventHandlerInvoker.Builder |
SimpleEventHandlerInvoker.Builder.sequencingPolicy(SequencingPolicy<? super EventMessage<?>> sequencingPolicy)
Sets the
SequencingPolicy in charge of deciding whether a given event should be handled (through
SimpleEventHandlerInvoker.handle(EventMessage, Segment)) by the given Segment. |
| Modifier and Type | Class and Description |
|---|---|
class |
FullConcurrencyPolicy
SequencingPolicy that does not enforce any sequencing requirements on event processing.
|
class |
PropertySequencingPolicy<T,K>
A
SequencingPolicy implementation that extracts the sequence identifier from the event message payload based
on a given property or property extractor. |
class |
SequentialPerAggregatePolicy
Concurrency policy that requires sequential processing of events raised by the same aggregate.
|
class |
SequentialPolicy
SequencingPolicy that requires sequential handling of all events delivered to an event handler.
|
| Modifier and Type | Method and Description |
|---|---|
PropertySequencingPolicy.Builder<T,K> |
PropertySequencingPolicy.Builder.fallbackSequencingPolicy(SequencingPolicy<EventMessage> fallbackSequencingPolicy)
Defines the fallback sequencing policy, the sequencing policy which is applied if the event message payload
is not of a supported type.
|
| Constructor and Description |
|---|
AsynchronousEventProcessingStrategy(Executor executor,
SequencingPolicy<? super EventMessage<?>> sequencingPolicy)
Initializes a new
AsynchronousEventProcessingStrategy that uses the given executor to execute
event processing tasks and sequencingPolicy that determines if an event may be processed in sequence or
in parallel. |
Copyright © 2010–2022. All rights reserved.