org.axonframework.eventhandling
Class FullConcurrencyPolicy
java.lang.Object
org.axonframework.eventhandling.FullConcurrencyPolicy
- All Implemented Interfaces:
- EventSequencingPolicy
public class FullConcurrencyPolicy
- extends Object
- implements EventSequencingPolicy
EventSequencingPolicy that does not enforce any sequencing requirements on event processing.
- Since:
- 0.3
- Author:
- Allard Buijze
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FullConcurrencyPolicy
public FullConcurrencyPolicy()
getSequenceIdentifierFor
public Object getSequenceIdentifierFor(Event event)
- Returns the sequence identifier for the given
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.
- Specified by:
getSequenceIdentifierFor in interface EventSequencingPolicy
- Parameters:
event - the event for which to get the sequencing identifier
- Returns:
- a sequence identifier for the given event
Copyright © 2011. All Rights Reserved.