public class FullConcurrencyPolicy extends Object implements SequencingPolicy<EventMessage<?>>
Constructor and Description |
---|
FullConcurrencyPolicy() |
Modifier and Type | Method and Description |
---|---|
Object |
getSequenceIdentifierFor(EventMessage<?> event)
Returns the sequence identifier for the given
event . |
public Object getSequenceIdentifierFor(EventMessage<?> event)
SequencingPolicy
event
. When two events have the same identifier (as defined
by their equals method), they will be executed sequentially. A null
value indicates that there are no
sequencing requirements for the handling of this event.getSequenceIdentifierFor
in interface SequencingPolicy<EventMessage<?>>
event
- the event for which to get the sequencing identifierCopyright © 2010–2022. All rights reserved.