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.andInitialSegmentsCount(int segmentsSize) |
TrackingEventProcessorConfiguration |
TrackingEventProcessorConfiguration.andInitialTrackingToken(Function<StreamableMessageSource,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.
|
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.
|
Constructor and Description |
---|
TrackingEventProcessor(String name,
EventHandlerInvoker eventHandlerInvoker,
StreamableMessageSource<TrackedEventMessage<?>> messageSource,
TokenStore tokenStore,
TransactionManager transactionManager,
MessageMonitor<? super EventMessage<?>> messageMonitor,
RollbackConfiguration rollbackConfiguration,
ErrorHandler errorHandler,
TrackingEventProcessorConfiguration config)
Initializes an EventProcessor with given
name that subscribes to the given messageSource for
events. |
Copyright © 2010–2018. All rights reserved.