Package | Description |
---|---|
org.axonframework.config | |
org.axonframework.eventhandling |
Classes related to event handling and dispatching, such as
Event Listeners and the Event Bus . |
Modifier and Type | Method and Description |
---|---|
TrackingEventProcessorConfiguration |
TrackingEventProcessorConfiguration.andBatchSize(int batchSize) |
TrackingEventProcessorConfiguration |
TrackingEventProcessorConfiguration.andEventAvailabilityTimeout(long interval,
TimeUnit unit)
Set the duration where a Tracking Processor will wait for the availability of Events, in each cycle, before
extending the claim on the tokens it owns.
|
TrackingEventProcessorConfiguration |
TrackingEventProcessorConfiguration.andEventTrackerStatusChangeListener(EventTrackerStatusChangeListener eventTrackerStatusChangeListener)
Sets the
EventTrackerStatusChangeListener which will be called on EventTrackerStatus changes. |
TrackingEventProcessorConfiguration |
TrackingEventProcessorConfiguration.andInitialSegmentsCount(int segmentsSize) |
TrackingEventProcessorConfiguration |
TrackingEventProcessorConfiguration.andInitialTrackingToken(Function<StreamableMessageSource<TrackedEventMessage<?>>,TrackingToken> initialTrackingTokenBuilder)
Sets the Builder to use to create the initial tracking token.
|
TrackingEventProcessorConfiguration |
TrackingEventProcessorConfiguration.andThreadFactory(Function<String,ThreadFactory> threadFactory)
Sets the ThreadFactory to use to create the threads to process events on.
|
TrackingEventProcessorConfiguration |
TrackingEventProcessorConfiguration.andTokenClaimInterval(long tokenClaimInterval,
TimeUnit timeUnit)
Sets the time to wait after a failed attempt to claim any token, before making another attempt.
|
static TrackingEventProcessorConfiguration |
TrackingEventProcessorConfiguration.forParallelProcessing(int threadCount)
Initialize a configuration instance with the given
threadCount . |
static TrackingEventProcessorConfiguration |
TrackingEventProcessorConfiguration.forSingleThreadedProcessing()
Initialize a configuration with single threaded processing.
|
Modifier and Type | Method and Description |
---|---|
TrackingEventProcessor.Builder |
TrackingEventProcessor.Builder.trackingEventProcessorConfiguration(TrackingEventProcessorConfiguration trackingEventProcessorConfiguration)
Sets the
TrackingEventProcessorConfiguration containing the fine grained configuration options for a
TrackingEventProcessor . |
Copyright © 2010–2022. All rights reserved.