Uses of Class
org.axonframework.messaging.eventhandling.processing.streaming.pooled.PooledStreamingEventProcessorConfiguration
Packages that use PooledStreamingEventProcessorConfiguration
Package
Description
Package containing workflow configuration components.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
-
Uses of PooledStreamingEventProcessorConfiguration in io.axoniq.framework.workflow.configuration
Method parameters in io.axoniq.framework.workflow.configuration with type arguments of type PooledStreamingEventProcessorConfigurationModifier and TypeMethodDescriptionWorkflowModule.OptionalPhase.historyProcessorConfiguration(Function<PooledStreamingEventProcessorConfiguration, PooledStreamingEventProcessorConfiguration> historyProcessorConfiguration) Applies the givenhistoryProcessorConfigurationfunction to thePooledStreamingEventProcessorConfigurationbacking the history projector's own, dedicated event processor.WorkflowModule.OptionalPhase.historyProcessorConfiguration(Function<PooledStreamingEventProcessorConfiguration, PooledStreamingEventProcessorConfiguration> historyProcessorConfiguration) Applies the givenhistoryProcessorConfigurationfunction to thePooledStreamingEventProcessorConfigurationbacking the history projector's own, dedicated event processor.WorkflowModule.OptionalPhase.processorConfiguration(Function<PooledStreamingEventProcessorConfiguration, PooledStreamingEventProcessorConfiguration> processorConfiguration) Applies the givenprocessorConfigurationfunction to thePooledStreamingEventProcessorConfigurationbacking this module's event processor.WorkflowModule.OptionalPhase.processorConfiguration(Function<PooledStreamingEventProcessorConfiguration, PooledStreamingEventProcessorConfiguration> processorConfiguration) Applies the givenprocessorConfigurationfunction to thePooledStreamingEventProcessorConfigurationbacking this module's event processor. -
Uses of PooledStreamingEventProcessorConfiguration in org.axonframework.extension.spring.config
Methods in org.axonframework.extension.spring.config that return types with arguments of type PooledStreamingEventProcessorConfigurationModifier and TypeMethodDescriptionEventProcessorDefinition.pooledStreaming(String name) Creates a new processor definition for apooled streaming event processorwith the givenname.EventProcessorDefinition.pooledStreamingMatching(String name) Creates a new processor definition for apooled streaming event processorwith the givenname, automatically selecting any event handler with a namespace matching thename, and adding them to the pooled streaming event processor.Method parameters in org.axonframework.extension.spring.config with type arguments of type PooledStreamingEventProcessorConfigurationModifier and TypeMethodDescriptionSagaProcessorDefinition.Selector.whenPooledStreaming(UnaryOperator<PooledStreamingEventProcessorConfiguration> customization) Completes the definition with acustomizationapplied only when the selected processor runs in pooled streaming mode, which is the default for a Saga. -
Uses of PooledStreamingEventProcessorConfiguration in org.axonframework.messaging.eventhandling.configuration
Methods in org.axonframework.messaging.eventhandling.configuration that return types with arguments of type PooledStreamingEventProcessorConfigurationModifier and TypeMethodDescriptionstatic EventProcessorModule.EventHandlingPhase<PooledStreamingEventProcessorModule, PooledStreamingEventProcessorConfiguration> EventProcessorModule.pooledStreaming(String processorName) Creates aPooledStreamingEventProcessorModulewith the given name. -
Uses of PooledStreamingEventProcessorConfiguration in org.axonframework.messaging.eventhandling.processing.streaming.pooled
Methods in org.axonframework.messaging.eventhandling.processing.streaming.pooled that return PooledStreamingEventProcessorConfigurationModifier and TypeMethodDescriptionPooledStreamingEventProcessorConfiguration.addSegmentChangeListener(SegmentChangeListener segmentChangeListener) Adds a listener invoked when segments are claimed or released.PooledStreamingEventProcessorConfiguration.batchSize(int batchSize) Specifies the number of events to be processed inside a single transaction.PooledStreamingEventProcessorConfiguration.claimExtensionThreshold(long claimExtensionThreshold) Specifies a time in milliseconds the work packages of this processor should extend the claim on aTrackingToken.Deprecated, for removal: This API element is subject to removal in a future version.PooledStreamingEventProcessorConfiguration.coordinatorExecutor(ScheduledExecutorService coordinatorExecutor) Specifies theScheduledExecutorServiceused by the coordinator of thisPooledStreamingEventProcessor.PooledStreamingEventProcessorConfiguration.coordinatorExecutor(Supplier<ScheduledExecutorService> coordinatorExecutor) Specifies theScheduledExecutorServiceused by the coordinator of thisPooledStreamingEventProcessor.PooledStreamingEventProcessorConfiguration.enableCoordinatorClaimExtension()Enables theCoordinatortoextend the claimsof itsWorkPackages.PooledStreamingEventProcessorConfiguration.errorHandler(ErrorHandler errorHandler) PooledStreamingEventProcessorConfiguration.eventCriteria(Function<Set<QualifiedName>, EventCriteria> eventCriteriaProvider) Sets the function to build theEventCriteriaused to filter events when opening the event source.PooledStreamingEventProcessorConfiguration.eventSource(StreamableEventSource eventSource) PooledStreamingEventProcessorConfiguration.ignoredMessageHandler(Consumer<? super EventMessage> ignoredMessageHandler) Sets the handler, that is invoked when the event is ignored by allWorkPackages thisCoordinatorcontrols.PooledStreamingEventProcessorConfiguration.initialSegmentCount(int initialSegmentCount) Sets the initial segment count used to create segments on start up.PooledStreamingEventProcessorConfiguration.initialToken(Function<TrackingTokenSource, CompletableFuture<TrackingToken>> initialToken) Specifies theFunctionused to generate the initialTrackingTokens.PooledStreamingEventProcessorConfiguration.maxClaimedSegments(int maxClaimedSegments) Sets the maximum number of segments this instance may claim.PooledStreamingEventProcessorConfiguration.maxSegmentProvider(MaxSegmentProvider maxSegmentProvider) Defines the maximum number of segment thisStreamingEventProcessormay claim per instance.PooledStreamingEventProcessorConfiguration.noCapacityDelay(long noCapacityDelay) Specifies the time in milliseconds the coordinator of this processor waits before it offers events to its work packages again, when one of them has no room for more.PooledStreamingEventProcessorConfiguration.progressStrategyFactoryBuilder(Function<List<EventHandlingComponent>, SegmentProgressStrategyFactory> progressStrategyFactoryBuilder) Sets the function selecting theSegmentProgressStrategyFactoryfor a processor from itsEventHandlingComponents.PooledStreamingEventProcessorConfiguration.schedulingProcessingContextProvider(Supplier<ProcessingContext> schedulingProcessingContextProvider) Provides aProcessingContextused to evaluate whether an event can be scheduled for processing by thisWorkPackage.PooledStreamingEventProcessorConfiguration.sequencingPolicy(SequencingPolicy<? super EventMessage> sequencingPolicy) Sets theSequencingPolicyused to determine the sequence identifier of events handled by thisPooledStreamingEventProcessor, whenever an assignedEventHandlingComponentdoes not define a more specific one.PooledStreamingEventProcessorConfiguration.tokenClaimInterval(long tokenClaimInterval) Specifies the time in milliseconds the processor's coordinator should wait after a failed attempt to claim any segments for processing.PooledStreamingEventProcessorConfiguration.tokenStore(TokenStore tokenStore) Sets theTokenStoreused to store and fetch event tokens that enable thisEventProcessorto track its progress.PooledStreamingEventProcessorConfiguration.unitOfWorkFactory(UnitOfWorkFactory unitOfWorkFactory) PooledStreamingEventProcessorConfiguration.withInterceptor(MessageHandlerInterceptor<? super EventMessage> interceptor) Registers the givenEventMessage-specificMessageHandlerInterceptorfor thePooledStreamingEventProcessorunder construction.PooledStreamingEventProcessorConfiguration.workerExecutor(ScheduledExecutorService workerExecutor) Specifies theScheduledExecutorServiceto be provided to theWorkPackages created by thisPooledStreamingEventProcessor.PooledStreamingEventProcessorConfiguration.workerExecutor(Supplier<ScheduledExecutorService> workerExecutor) Specifies theScheduledExecutorServiceto be provided to theWorkPackages created by thisPooledStreamingEventProcessor.Methods in org.axonframework.messaging.eventhandling.processing.streaming.pooled that return types with arguments of type PooledStreamingEventProcessorConfigurationModifier and TypeMethodDescriptionEventProcessorModule.CustomizationPhase<PooledStreamingEventProcessorModule, PooledStreamingEventProcessorConfiguration> PooledStreamingEventProcessorModule.eventHandlingComponents(Function<EventHandlingComponentsConfigurer.RequiredComponentPhase, EventHandlingComponentsConfigurer.CompletePhase> configurerTask) Method parameters in org.axonframework.messaging.eventhandling.processing.streaming.pooled with type arguments of type PooledStreamingEventProcessorConfigurationModifier and TypeMethodDescriptionPooledStreamingEventProcessorModule.customized(BiFunction<Configuration, PooledStreamingEventProcessorConfiguration, PooledStreamingEventProcessorConfiguration> instanceCustomization) PooledStreamingEventProcessorModule.customized(BiFunction<Configuration, PooledStreamingEventProcessorConfiguration, PooledStreamingEventProcessorConfiguration> instanceCustomization) PooledStreamingEventProcessorsConfigurer.defaults(BiFunction<Configuration, PooledStreamingEventProcessorConfiguration, PooledStreamingEventProcessorConfiguration> configureDefaults) Configures default settings that will be applied to allPooledStreamingEventProcessorinstances managed by this configurer.PooledStreamingEventProcessorsConfigurer.defaults(BiFunction<Configuration, PooledStreamingEventProcessorConfiguration, PooledStreamingEventProcessorConfiguration> configureDefaults) Configures default settings that will be applied to allPooledStreamingEventProcessorinstances managed by this configurer.PooledStreamingEventProcessorsConfigurer.defaults(UnaryOperator<PooledStreamingEventProcessorConfiguration> configureDefaults) Configures default settings that will be applied to allPooledStreamingEventProcessorinstances managed by this configurer.PooledStreamingEventProcessorsConfigurer.processor(String name, Function<EventProcessorModule.EventHandlingPhase<PooledStreamingEventProcessorModule, PooledStreamingEventProcessorConfiguration>, PooledStreamingEventProcessorModule> moduleCustomizer) Registers a pooled streaming event processor with custom module configuration.Constructors in org.axonframework.messaging.eventhandling.processing.streaming.pooled with parameters of type PooledStreamingEventProcessorConfigurationModifierConstructorDescriptionPooledStreamingEventProcessor(String name, List<EventHandlingComponent> eventHandlingComponents, PooledStreamingEventProcessorConfiguration configuration) Instantiate aPooledStreamingEventProcessorwith givenname,eventHandlingComponentsand based on the fields contained in thePooledStreamingEventProcessorConfiguration.
ClockUtils.set(Clock)if you have to provide a non-defaultClockinstance.