public class SequentialPerAggregatePolicy extends Object implements SequencingPolicy<EventMessage>
|Constructor and Description|
|Modifier and Type||Method and Description|
Returns the sequence identifier for the given
Return a singleton instance of the this Sequencing Policy.
public static SequentialPerAggregatePolicy instance()
public Object getSequenceIdentifierFor(@Nonnull EventMessage event)
event. When two events have the same identifier (as defined by their equals method), they will be executed sequentially. A
nullvalue indicates that there are no sequencing requirements for the handling of this event.
event- the event for which to get the sequencing identifier
Copyright © 2010–2023. All rights reserved.