Skip navigation links
A B C D E G H I M N O P R S T V W 

A

addHandler(UnitOfWork.Phase, Consumer<UnitOfWork<T>>) - Method in class org.axonframework.disruptor.commandhandling.DisruptorUnitOfWork
 
AggregateBlacklistedException - Exception in org.axonframework.disruptor.commandhandling
Exception indicating that an aggregate has been blacklisted by the DisruptorCommandBus.
AggregateBlacklistedException(String, String, Throwable) - Constructor for exception org.axonframework.disruptor.commandhandling.AggregateBlacklistedException
Initializes the exception with given aggregateIdentifier, given explanatory message and cause.
AggregateStateCorruptedException - Exception in org.axonframework.disruptor.commandhandling
Exception indicating that the changes in an aggregate (generated events) are ignored by the DisruptorCommandBus, because it cannot guarantee that these changes have been applied to an aggregate instance with the correct state.
AggregateStateCorruptedException(String, String) - Constructor for exception org.axonframework.disruptor.commandhandling.AggregateStateCorruptedException
Initializes the exception with given aggregateIdentifier and given explanatory message.
AggregateStateCorruptedException(String, String, Throwable) - Constructor for exception org.axonframework.disruptor.commandhandling.AggregateStateCorruptedException
Initializes the exception with given aggregateIdentifier, given explanatory message and cause.

B

BlacklistDetectingCallback<C,R> - Class in org.axonframework.disruptor.commandhandling
Wrapper for command handler Callbacks that detects blacklisted aggregates and starts a cleanup process when an aggregate is blacklisted.
BlacklistDetectingCallback(CommandCallback<? super C, R>, RingBuffer<CommandHandlingEntry>, BiConsumer<CommandMessage<? extends C>, CommandCallback<? super C, R>>, boolean) - Constructor for class org.axonframework.disruptor.commandhandling.BlacklistDetectingCallback
Initializes the callback which allows the given command to be rescheduled on the given ringBuffer if it failed due to a corrupt state.
bufferSize(int) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus.Builder
Sets the buffer size to use.
build() - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus.Builder
Initializes a DisruptorCommandBus as specified through this Builder.
builder() - Static method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus
Instantiate a Builder to be able to create a DisruptorCommandBus.
Builder() - Constructor for class org.axonframework.disruptor.commandhandling.DisruptorCommandBus.Builder
 

C

cache(Cache) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus.Builder
Sets the Cache in which loaded aggregates will be stored.
CommandHandlerInvoker - Class in org.axonframework.disruptor.commandhandling
Component of the DisruptorCommandBus that invokes the command handler.
CommandHandlerInvoker(Cache, int) - Constructor for class org.axonframework.disruptor.commandhandling.CommandHandlerInvoker
Create an aggregate invoker instance for the given segment and cache.
CommandHandlingEntry - Class in org.axonframework.disruptor.commandhandling
DataHolder for the DisruptorCommandBus.
CommandHandlingEntry() - Constructor for class org.axonframework.disruptor.commandhandling.CommandHandlingEntry
Initializes the CommandHandlingEntry
commandTargetResolver(CommandTargetResolver) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus.Builder
Sets the CommandTargetResolver that must be used to indicate which Aggregate instance will be invoked by an incoming command.
coolingDownPeriod(long) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus.Builder
Sets the cooling down period in milliseconds.
createRepository(EventStore, AggregateFactory<T>, SnapshotTriggerDefinition, ParameterResolverFactory) - Method in class org.axonframework.disruptor.commandhandling.CommandHandlerInvoker
Create a repository instance for an aggregate created by the given aggregateFactory.
createRepository(EventStore, RepositoryProvider, AggregateFactory<T>, SnapshotTriggerDefinition, ParameterResolverFactory, HandlerDefinition) - Method in class org.axonframework.disruptor.commandhandling.CommandHandlerInvoker
Create a repository instance for an aggregate created by the given aggregateFactory.
createRepository(EventStore, AggregateFactory<T>) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus
Creates a repository instance for an Event Sourced aggregate that is created by the given eventStore and aggregateFactory.
createRepository(EventStore, AggregateFactory<T>, RepositoryProvider) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus
Creates a repository instance for an Event Sourced aggregate that is created by the given eventStore and aggregateFactory.
createRepository(EventStore, AggregateFactory<T>, SnapshotTriggerDefinition) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus
Creates a repository instance for an Event Sourced aggregate, source from given eventStore, that is created by the given aggregateFactory.
createRepository(EventStore, AggregateFactory<T>, SnapshotTriggerDefinition, RepositoryProvider) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus
Creates a repository instance for an Event Sourced aggregate, source from given eventStore, that is created by the given aggregateFactory.
createRepository(EventStore, AggregateFactory<T>, ParameterResolverFactory) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus
Creates a repository instance for an Event Sourced aggregate that is created by the given aggregateFactory and sourced from given eventStore.
createRepository(EventStore, AggregateFactory<T>, ParameterResolverFactory, HandlerDefinition, RepositoryProvider) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus
Creates a repository instance for an Event Sourced aggregate that is created by the given aggregateFactory and sourced from given eventStore.
createRepository(EventStore, AggregateFactory<T>, SnapshotTriggerDefinition, ParameterResolverFactory) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus
Creates a repository instance for an Event Sourced aggregate, sourced from given eventStore, that is created by the given aggregateFactory.
createRepository(EventStore, AggregateFactory<T>, SnapshotTriggerDefinition, ParameterResolverFactory, HandlerDefinition, RepositoryProvider) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus
Creates a repository instance for an Event Sourced aggregate, sourced from given eventStore, that is created by the given aggregateFactory.

D

dispatch(CommandMessage<C>) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus
 
dispatch(CommandMessage<C>, CommandCallback<? super C, ? super R>) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus
 
dispatchInterceptors(List<MessageDispatchInterceptor<CommandMessage<?>>>) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus.Builder
Configures MessageDispatchInterceptor of generic type CommandMessage to use with the DisruptorCommandBus when commands are dispatched.
DisruptorCommandBus - Class in org.axonframework.disruptor.commandhandling
Asynchronous CommandBus implementation with very high performance characteristics.
DisruptorCommandBus(DisruptorCommandBus.Builder) - Constructor for class org.axonframework.disruptor.commandhandling.DisruptorCommandBus
Instantiate a DisruptorCommandBus based on the fields contained in the DisruptorCommandBus.Builder.
DisruptorCommandBus.Builder - Class in org.axonframework.disruptor.commandhandling
Builder class to instantiate a DisruptorCommandBus.
DisruptorUnitOfWork<T extends org.axonframework.messaging.Message<?>> - Class in org.axonframework.disruptor.commandhandling
Specialized UnitOfWork instance for the DisruptorCommandBus.
DisruptorUnitOfWork() - Constructor for class org.axonframework.disruptor.commandhandling.DisruptorUnitOfWork
 

E

EventPublisher - Class in org.axonframework.disruptor.commandhandling
Component of the DisruptorCommandBus that stores and publishes events generated by the command's execution.
EventPublisher(Executor, TransactionManager, RollbackConfiguration, int) - Constructor for class org.axonframework.disruptor.commandhandling.EventPublisher
Initializes the EventPublisher to publish Events to the given eventStore and eventBus for aggregate of given aggregateType.
executeWithResult(Callable<R>, RollbackConfiguration) - Method in class org.axonframework.disruptor.commandhandling.DisruptorUnitOfWork

This feature is not supported by this Unit of Work.

executor(Executor) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus.Builder
Sets the Executor that provides the processing resources (Threads) for the components of the DisruptorCommandBus.

G

getAggregateIdentifier() - Method in exception org.axonframework.disruptor.commandhandling.AggregateStateCorruptedException
Returns the identifier of the blacklisted aggregate.
getAggregateIdentifier() - Method in class org.axonframework.disruptor.commandhandling.CommandHandlingEntry
Returns the identifier of the aggregate to recover.
getCallback() - Method in class org.axonframework.disruptor.commandhandling.CommandHandlingEntry
Returns the CommandCallback instance for the executed command.
getExecutionResult() - Method in class org.axonframework.disruptor.commandhandling.DisruptorUnitOfWork
 
getInvocationInterceptorChain() - Method in class org.axonframework.disruptor.commandhandling.CommandHandlingEntry
Returns the InterceptorChain for the invocation process registered with this entry, or null if none is available.
getInvokerId() - Method in class org.axonframework.disruptor.commandhandling.CommandHandlingEntry
Returns the Identifier of the invoker that is chosen to handle this entry.
getMessage() - Method in class org.axonframework.disruptor.commandhandling.DisruptorUnitOfWork
 
getPublisherId() - Method in class org.axonframework.disruptor.commandhandling.CommandHandlingEntry
Returns the Identifier of the publisher that is chosen to handle this entry.
getPublisherInterceptorChain() - Method in class org.axonframework.disruptor.commandhandling.CommandHandlingEntry
Returns the InterceptorChain for the publication process registered with this entry, or null if none is available.
getRepository(Class<?>) - Static method in class org.axonframework.disruptor.commandhandling.CommandHandlerInvoker
Returns the Repository instance for Aggregate with given typeIdentifier used by the CommandHandlerInvoker that is running on the current thread.
getResult() - Method in class org.axonframework.disruptor.commandhandling.CommandHandlingEntry
Returns the result of the command's execution, or null if the command is not yet executed or resulted in an exception.

H

hasDelegate() - Method in class org.axonframework.disruptor.commandhandling.BlacklistDetectingCallback
Indicates whether this callback has a delegate that needs to be notified of the command handling result

I

invokerInterceptors(List<MessageHandlerInterceptor<? super CommandMessage<?>>>) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus.Builder
Set the MessageHandlerInterceptor of generic type CommandMessage to use with the DisruptorCommandBus during in the invocation thread.
invokerThreadCount(int) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus.Builder
Sets the number of Threads that should be used to invoke the Command Handlers.
isRecoverEntry() - Method in class org.axonframework.disruptor.commandhandling.CommandHandlingEntry
Indicates whether this entry is a recovery entry.

M

messageMonitor(MessageMonitor<? super CommandMessage<?>>) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus.Builder
Sets the MessageMonitor of generic type CommandMessage used the to monitor the command bus.

N

notifyHandlers(UnitOfWork.Phase) - Method in class org.axonframework.disruptor.commandhandling.DisruptorUnitOfWork
 

O

onEvent(CommandHandlingEntry, long, boolean) - Method in class org.axonframework.disruptor.commandhandling.CommandHandlerInvoker
 
onEvent(CommandHandlingEntry, long, boolean) - Method in class org.axonframework.disruptor.commandhandling.EventPublisher
 
onResult(CommandMessage<? extends C>, CommandResultMessage<? extends R>) - Method in class org.axonframework.disruptor.commandhandling.BlacklistDetectingCallback
 
onShutdown() - Method in class org.axonframework.disruptor.commandhandling.CommandHandlerInvoker
 
onStart() - Method in class org.axonframework.disruptor.commandhandling.CommandHandlerInvoker
 
org.axonframework.disruptor.commandhandling - package org.axonframework.disruptor.commandhandling
 

P

parent() - Method in class org.axonframework.disruptor.commandhandling.DisruptorUnitOfWork
 
pause() - Method in class org.axonframework.disruptor.commandhandling.DisruptorUnitOfWork
Pause this Unit of Work by unregistering it with the CurrentUnitOfWork.
producerType(ProducerType) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus.Builder
Sets the ProducerType to use by the Disruptor.
publisherInterceptors(List<MessageHandlerInterceptor<CommandMessage<?>>>) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus.Builder
Configures the MessageHandlerInterceptor of generic type CommandMessage to use with the DisruptorCommandBus during the publication of changes.
publisherThreadCount(int) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus.Builder
Sets the number of Threads that should be used to store and publish the generated Events.

R

registerAggregateIdentifier(String) - Method in class org.axonframework.disruptor.commandhandling.CommandHandlingEntry
Registers the identifier of the aggregate that will process the next command.
registerDispatchInterceptor(MessageDispatchInterceptor<? super CommandMessage<?>>) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus
 
registerHandlerInterceptor(MessageHandlerInterceptor<? super CommandMessage<?>>) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus
 
rescheduleCommandsOnCorruptState(boolean) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus.Builder
Set the indicator specifying whether commands that failed because they were executed against potentially corrupted aggregate state should be automatically rescheduled.
reset(CommandMessage<?>, MessageHandler<? super CommandMessage<?>>, int, int, BlacklistDetectingCallback, List<MessageHandlerInterceptor<? super CommandMessage<?>>>, List<MessageHandlerInterceptor<? super CommandMessage<?>>>) - Method in class org.axonframework.disruptor.commandhandling.CommandHandlingEntry
Resets this entry, preparing it for use for another command.
reset(T) - Method in class org.axonframework.disruptor.commandhandling.DisruptorUnitOfWork
Resets the state of this Unit of Work, by setting its phase to NOT_STARTED, replacing the message of this Unit of Work with given message, and clearing its collection of registered handlers.
resetAsCallable(Callable<Object>, int, int, BlacklistDetectingCallback<Object, Object>) - Method in class org.axonframework.disruptor.commandhandling.CommandHandlingEntry
Resets this entry, preparing it to run given callable from within the invocationInterceptorChain.
resetAsRecoverEntry(String) - Method in class org.axonframework.disruptor.commandhandling.CommandHandlingEntry
Resets this entry, preparing it for use as a recovery entry.
resume() - Method in class org.axonframework.disruptor.commandhandling.DisruptorUnitOfWork
Resume a paused Unit of Work by registering it with the CurrentUnitOfWork.
rollbackConfiguration(RollbackConfiguration) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus.Builder
Sets the RollbackConfiguration which allows you to specify when a UnitOfWork should be rolled back.

S

setExecutionResult(ExecutionResult) - Method in class org.axonframework.disruptor.commandhandling.DisruptorUnitOfWork
 
setResult(CommandResultMessage<?>) - Method in class org.axonframework.disruptor.commandhandling.CommandHandlingEntry
Registers the result of the command's execution, if successful.
setRollbackCause(Throwable) - Method in class org.axonframework.disruptor.commandhandling.DisruptorUnitOfWork
 
stop() - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus
Shuts down the command bus.
subscribe(String, MessageHandler<? super CommandMessage<?>>) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus
 

T

transactionManager(TransactionManager) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus.Builder
Sets the TransactionManager to use to manage a transaction around the storage and publication of events.
transformMessage(Function<T, ? extends Message<?>>) - Method in class org.axonframework.disruptor.commandhandling.DisruptorUnitOfWork
 

V

validate() - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus.Builder
Validate whether the fields contained in this Builder as set accordingly.

W

waitStrategy(WaitStrategy) - Method in class org.axonframework.disruptor.commandhandling.DisruptorCommandBus.Builder
Sets the WaitStrategy which is used to make dependent threads wait for tasks to be completed.
A B C D E G H I M N O P R S T V W 
Skip navigation links

Copyright © 2010–2019. All rights reserved.