public class SequentialPerAggregatePolicy extends Object implements SequencingPolicy<EventMessage>
| Constructor and Description |
|---|
SequentialPerAggregatePolicy() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getSequenceIdentifierFor(EventMessage event)
Returns the sequence identifier for the given
event. |
static SequentialPerAggregatePolicy |
instance()
Return a singleton instance of the this Sequencing Policy.
|
public static SequentialPerAggregatePolicy instance()
public Object getSequenceIdentifierFor(EventMessage event)
SequencingPolicyevent. 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–2018. All rights reserved.