Uses of Interface
org.axonframework.eventhandling.async.SequencingPolicy
Packages that use SequencingPolicy
Package
Description
Classes related to event handling and dispatching, such as
Event Listeners and the Event Bus.-
Uses of SequencingPolicy in org.axonframework.axonserver.connector.event.axon
Methods in org.axonframework.axonserver.connector.event.axon that return SequencingPolicyModifier and TypeMethodDescriptionPersistentStreamSequencingPolicyProvider.apply(Configuration configuration) -
Uses of SequencingPolicy in org.axonframework.config
Fields in org.axonframework.config with type parameters of type SequencingPolicyModifier and TypeFieldDescriptionprotected final Map<String, Component<SequencingPolicy<? super EventMessage<?>>>> EventProcessingModule.sequencingPoliciesMethods in org.axonframework.config that return SequencingPolicyModifier and TypeMethodDescriptionSequencingPolicy<? super EventMessage<?>> EventProcessingConfiguration.sequencingPolicy(String processingGroup) Returns theSequencingPolicytied to the givenprocessingGroup.SequencingPolicy<? super EventMessage<?>> EventProcessingModule.sequencingPolicy(String processingGroup) Method parameters in org.axonframework.config with type arguments of type SequencingPolicyModifier and TypeMethodDescriptionEventProcessingConfigurer.registerDefaultSequencingPolicy(Function<Configuration, SequencingPolicy<? super EventMessage<?>>> policyBuilder) Registers theSequencingPolicycreated by givenpolicyBuilderto the processing groups for which no explicit policy is defined (usingEventProcessingConfigurer.registerSequencingPolicy(String, Function)).EventProcessingModule.registerDefaultSequencingPolicy(Function<Configuration, SequencingPolicy<? super EventMessage<?>>> policyBuilder) EventProcessingConfigurer.registerSequencingPolicy(String processingGroup, Function<Configuration, SequencingPolicy<? super EventMessage<?>>> policyBuilder) Registers theSequencingPolicycreated by the givenpolicyBuilderto the processing group with givenprocessingGroup.EventProcessingModule.registerSequencingPolicy(String processingGroup, Function<Configuration, SequencingPolicy<? super EventMessage<?>>> policyBuilder) -
Uses of SequencingPolicy in org.axonframework.eventhandling
Methods in org.axonframework.eventhandling that return SequencingPolicyModifier and TypeMethodDescriptionSequencingPolicy<? super EventMessage<?>> SimpleEventHandlerInvoker.getSequencingPolicy()Return theSequencingPolicyas configured for thisEventHandlerInvoker.Methods in org.axonframework.eventhandling with parameters of type SequencingPolicyModifier and TypeMethodDescriptionSimpleEventHandlerInvoker.Builder.sequencingPolicy(SequencingPolicy<? super EventMessage<?>> sequencingPolicy) Sets theSequencingPolicyin charge of deciding whether a given event should be handled (throughEventHandlerInvoker.handle(EventMessage, Segment)) by the givenSegment. -
Uses of SequencingPolicy in org.axonframework.eventhandling.async
Classes in org.axonframework.eventhandling.async that implement SequencingPolicyModifier and TypeClassDescriptionclassSequencingPolicy that does not enforce any sequencing requirements on event processing.classASequencingPolicyimplementation that extracts the sequence identifier from theEventMessage'sMetaData, based on a givenmetaDataKey.classASequencingPolicyimplementation that extracts the sequence identifier from the event message payload based on a given property or property extractor.classConcurrency policy that requires sequential processing of events raised by the same aggregate.classSequencingPolicy that requires sequential handling of all events delivered to an event handler.Methods in org.axonframework.eventhandling.async with parameters of type SequencingPolicyModifier and TypeMethodDescriptionPropertySequencingPolicy.Builder.fallbackSequencingPolicy(SequencingPolicy<EventMessage> fallbackSequencingPolicy) Defines the fallback sequencing policy, the sequencing policy which is applied if the event message payload is not of a supported type.Constructors in org.axonframework.eventhandling.async with parameters of type SequencingPolicyModifierConstructorDescriptionAsynchronousEventProcessingStrategy(Executor executor, SequencingPolicy<? super EventMessage<?>> sequencingPolicy) Initializes a newAsynchronousEventProcessingStrategythat uses the givenexecutorto execute event processing tasks andsequencingPolicythat determines if an event may be processed in sequence or in parallel.