Class FullConcurrencyPolicy
java.lang.Object
org.axonframework.eventhandling.async.FullConcurrencyPolicy
- All Implemented Interfaces:
SequencingPolicy<EventMessage<?>>
SequencingPolicy that does not enforce any sequencing requirements on event processing.
- Since:
- 0.3
- Author:
- Allard Buijze, Henrique Sena
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSequenceIdentifierFor(EventMessage<?> event) Returns the sequence identifier for the givenevent.
-
Constructor Details
-
FullConcurrencyPolicy
public FullConcurrencyPolicy()
-
-
Method Details
-
getSequenceIdentifierFor
Description copied from interface:SequencingPolicyReturns the sequence identifier for the givenevent. When two events have the same identifier (as defined by their equals method), they will be executed sequentially. Anullvalue indicates that there are no sequencing requirements for the handling of this event.- Specified by:
getSequenceIdentifierForin interfaceSequencingPolicy<EventMessage<?>>- Parameters:
event- the event for which to get the sequencing identifier- Returns:
- a sequence identifier for the given event
-