Interface EventSequenceResolver.ForObjectAndMetaDataAndRawEvent<E>
- Type Parameters:
E
- the generic Java event type
- All Superinterfaces:
EventSequenceResolver<E>
- Enclosing interface:
EventSequenceResolver<E>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static non-sealed interface EventSequenceResolver.ForObjectAndMetaDataAndRawEvent<E>
extends EventSequenceResolver<E>
FunctionalInterface
to be implemented, if an event's sequence identifier can only be derived from a fully
upcasted and deserialized Java event object.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.opencqrs.framework.eventhandler.partitioning.EventSequenceResolver
EventSequenceResolver.ForObjectAndMetaDataAndRawEvent<E>, EventSequenceResolver.ForRawEvent
-
Method Summary
-
Method Details
-
sequenceIdFor
Determines the sequence identifier from an upcasted and deserializedEvent
.- Parameters:
event
- the Java event objectmetaData
- the event meta-data- Returns:
- the event's sequence identifier
-