public class FullConcurrencyPolicy extends Object implements SequencingPolicy<Object>
Constructor and Description |
---|
FullConcurrencyPolicy() |
Modifier and Type | Method and Description |
---|---|
Object |
getSequenceIdentifierFor(Object event)
Returns the sequence identifier for the given
event . |
public Object getSequenceIdentifierFor(Object 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<Object>
event
- the event for which to get the sequencing identifierCopyright © 2010–2019. All rights reserved.