Uses of Class
org.axonframework.eventhandling.pooled.PooledStreamingEventProcessor.Builder
Packages that use PooledStreamingEventProcessor.Builder
-
Uses of PooledStreamingEventProcessor.Builder in org.axonframework.eventhandling.pooled
Methods in org.axonframework.eventhandling.pooled that return PooledStreamingEventProcessor.BuilderModifier and TypeMethodDescriptionPooledStreamingEventProcessor.Builder.batchSize(int batchSize) Specifies the number of events to be processed inside a single transaction.PooledStreamingEventProcessor.builder()Instantiate a Builder to be able to create aPooledStreamingEventProcessor.PooledStreamingEventProcessor.Builder.claimExtensionThreshold(long claimExtensionThreshold) Specifies a time in milliseconds the work packages of this processor should extend the claim on aTrackingToken.Defines theClockused for time dependent operation by thisEventProcessor.PooledStreamingEventProcessor.Builder.coordinatorExecutor(ScheduledExecutorService coordinatorExecutor) Specifies theScheduledExecutorServiceused by the coordinator of thisPooledStreamingEventProcessor.PooledStreamingEventProcessor.Builder.coordinatorExecutor(Function<String, ScheduledExecutorService> coordinatorExecutorBuilder) Specifies a builder to construct aScheduledExecutorServiceused by the coordinator of thisPooledStreamingEventProcessor.PooledStreamingEventProcessor.Builder.enableCoordinatorClaimExtension()Enables theCoordinatortoextend the claimsof itsWorkPackages.PooledStreamingEventProcessor.Builder.errorHandler(ErrorHandler errorHandler) PooledStreamingEventProcessor.Builder.eventHandlerInvoker(EventHandlerInvoker eventHandlerInvoker) PooledStreamingEventProcessor.Builder.initialSegmentCount(int initialSegmentCount) Sets the initial segment count used to create segments on start up.PooledStreamingEventProcessor.Builder.initialToken(Function<StreamableMessageSource<TrackedEventMessage<?>>, TrackingToken> initialToken) Specifies theFunctionused to generate the initialTrackingTokens.PooledStreamingEventProcessor.Builder.maxClaimedSegments(int maxClaimedSegments) Sets the maximum number of segments this instance may claim.PooledStreamingEventProcessor.Builder.maxSegmentProvider(MaxSegmentProvider maxSegmentProvider) Defines the maximum number of segment thisStreamingEventProcessormay claim per instance.PooledStreamingEventProcessor.Builder.messageMonitor(MessageMonitor<? super EventMessage<?>> messageMonitor) PooledStreamingEventProcessor.Builder.messageSource(StreamableMessageSource<TrackedEventMessage<?>> messageSource) PooledStreamingEventProcessor.Builder.rollbackConfiguration(RollbackConfiguration rollbackConfiguration) PooledStreamingEventProcessor.Builder.spanFactory(EventProcessorSpanFactory spanFactory) PooledStreamingEventProcessor.Builder.spanFactory(SpanFactory spanFactory) Deprecated.PooledStreamingEventProcessor.Builder.tokenClaimInterval(long tokenClaimInterval) Specifies the time in milliseconds the processor's coordinator should wait after a failed attempt to claim any segments for processing.PooledStreamingEventProcessor.Builder.tokenStore(TokenStore tokenStore) Sets theTokenStoreused to store and fetch event tokens that enable thisEventProcessorto track its progress.PooledStreamingEventProcessor.Builder.transactionManager(TransactionManager transactionManager) Sets theTransactionManagerused when processingEventMessages.PooledStreamingEventProcessor.Builder.workerExecutor(ScheduledExecutorService workerExecutor) Specifies theScheduledExecutorServiceto be provided to theWorkPackages created by thisPooledStreamingEventProcessor.PooledStreamingEventProcessor.Builder.workerExecutor(Function<String, ScheduledExecutorService> workerExecutorBuilder) Specifies a builder to construct aScheduledExecutorServiceto be provided to theWorkPackages created by thisPooledStreamingEventProcessor.PooledStreamingEventProcessor.Builder.workerExecutorService(ScheduledExecutorService workerExecutor) Deprecated.Constructors in org.axonframework.eventhandling.pooled with parameters of type PooledStreamingEventProcessor.BuilderModifierConstructorDescriptionprotectedInstantiate aPooledStreamingEventProcessorbased on the fields contained in thePooledStreamingEventProcessor.Builder.
workerExecutor(ScheduledExecutorService)