public class SequentialPolicy extends Object implements SequencingPolicy<Object>
Constructor and Description |
---|
SequentialPolicy() |
public Object getSequenceIdentifierFor(Object task)
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>
task
- the event for which to get the sequencing identifierCopyright © 2010-2014. All Rights Reserved.