Package | Description |
---|---|
org.axonframework.commandhandling |
Classes that implement the concept of command handling using explicit command objects.
|
org.axonframework.config | |
org.axonframework.disruptor.commandhandling | |
org.axonframework.eventhandling |
Classes related to event handling and dispatching, such as
Event Listeners and the Event Bus . |
org.axonframework.eventhandling.pooled | |
org.axonframework.messaging.unitofwork |
Modifier and Type | Method and Description |
---|---|
SimpleCommandBus.Builder |
SimpleCommandBus.Builder.rollbackConfiguration(RollbackConfiguration rollbackConfiguration)
Sets the
RollbackConfiguration which allows you to specify when a UnitOfWork should be rolled
back. |
AsynchronousCommandBus.Builder |
AsynchronousCommandBus.Builder.rollbackConfiguration(RollbackConfiguration rollbackConfiguration) |
void |
SimpleCommandBus.setRollbackConfiguration(RollbackConfiguration rollbackConfiguration)
Sets the
RollbackConfiguration that allows you to change when the UnitOfWork is rolled back. |
Modifier and Type | Field and Description |
---|---|
protected Map<String,Component<RollbackConfiguration>> |
EventProcessingModule.rollbackConfigurations |
Modifier and Type | Method and Description |
---|---|
RollbackConfiguration |
EventProcessingModule.rollbackConfiguration(String processorName) |
RollbackConfiguration |
EventProcessingConfiguration.rollbackConfiguration(String processorName)
Returns the
RollbackConfiguration tied to the given processorName . |
Modifier and Type | Method and Description |
---|---|
EventProcessingConfigurer |
EventProcessingModule.registerRollbackConfiguration(String name,
Function<Configuration,RollbackConfiguration> rollbackConfigurationBuilder) |
EventProcessingConfigurer |
EventProcessingConfigurer.registerRollbackConfiguration(String name,
Function<Configuration,RollbackConfiguration> rollbackConfigurationBuilder)
|
Modifier and Type | Method and Description |
---|---|
<R> ResultMessage<R> |
DisruptorUnitOfWork.executeWithResult(Callable<R> task,
RollbackConfiguration rollbackConfiguration)
Execute the given
task in the context of this Unit of Work. |
DisruptorCommandBus.Builder |
DisruptorCommandBus.Builder.rollbackConfiguration(RollbackConfiguration rollbackConfiguration)
Sets the
RollbackConfiguration which allows you to specify when a UnitOfWork should be rolled
back. |
Constructor and Description |
---|
EventPublisher(Executor executor,
TransactionManager transactionManager,
RollbackConfiguration rollbackConfiguration,
int segmentId)
Initializes the EventPublisher to publish Events to the given
eventStore and eventBus for
aggregate of given aggregateType . |
Modifier and Type | Method and Description |
---|---|
TrackingEventProcessor.Builder |
TrackingEventProcessor.Builder.rollbackConfiguration(RollbackConfiguration rollbackConfiguration)
Sets the
RollbackConfiguration specifying the rollback behavior of the UnitOfWork while
processing a batch of events. |
SubscribingEventProcessor.Builder |
SubscribingEventProcessor.Builder.rollbackConfiguration(RollbackConfiguration rollbackConfiguration)
Sets the
RollbackConfiguration specifying the rollback behavior of the UnitOfWork while
processing a batch of events. |
AbstractEventProcessor.Builder |
AbstractEventProcessor.Builder.rollbackConfiguration(RollbackConfiguration rollbackConfiguration)
Sets the
RollbackConfiguration specifying the rollback behavior of the UnitOfWork while
processing a batch of events. |
Modifier and Type | Method and Description |
---|---|
PooledStreamingEventProcessor.Builder |
PooledStreamingEventProcessor.Builder.rollbackConfiguration(RollbackConfiguration rollbackConfiguration) |
Modifier and Type | Class and Description |
---|---|
class |
RollbackConfigurationType
Enum containing common rollback configurations for the Unit of Work.
|
Modifier and Type | Method and Description |
---|---|
default void |
UnitOfWork.execute(Runnable task,
RollbackConfiguration rollbackConfiguration)
Execute the given
task in the context of this Unit of Work. |
<R> ResultMessage<R> |
UnitOfWork.executeWithResult(Callable<R> task,
RollbackConfiguration rollbackConfiguration)
Execute the given
task in the context of this Unit of Work. |
<R> ResultMessage<R> |
DefaultUnitOfWork.executeWithResult(Callable<R> task,
RollbackConfiguration rollbackConfiguration) |
<R> ResultMessage<R> |
BatchingUnitOfWork.executeWithResult(Callable<R> task,
RollbackConfiguration rollbackConfiguration)
Execute the given
task in the context of this Unit of Work. |
Copyright © 2010–2024. All rights reserved.