Interface EventSequenceResolver<E>
- Type Parameters:
E
- the generic Java event type
- All Known Subinterfaces:
EventSequenceResolver.ForObjectAndMetaDataAndRawEvent<E>
,EventSequenceResolver.ForRawEvent
- All Known Implementing Classes:
NoEventSequenceResolver
,PerConfigurableLevelSubjectEventSequenceResolver
,PerSubjectEventSequenceResolver
public sealed interface EventSequenceResolver<E>
permits EventSequenceResolver.ForRawEvent, EventSequenceResolver.ForObjectAndMetaDataAndRawEvent<E>
Sealed base interface for inherited
FunctionalInterface
variants encapsulating the logic to derive a
sequence identifier for an event.
An event's sequence identifier is a String
determining, if two consecutive events must be handled in
order. Two events with the same sequence identifier will be handled with respect to their order within the event
stream, while events with different sequence identifiers may be handled in parallel with no ordering constraints.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
FunctionalInterface
to be implemented, if an event's sequence identifier can only be derived from a fully upcasted and deserialized Java event object.static interface
FunctionalInterface
to be implemented, if an event's sequence identifier can be derived from a rawEvent
, that is without any upcasting or Java object deserialization.