|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use CommandCallback | |
|---|---|
| org.axonframework.commandhandling | Classes that implement the concept of command handling using explicit command objects. |
| org.axonframework.commandhandling.callbacks | |
| org.axonframework.commandhandling.disruptor | |
| org.axonframework.commandhandling.gateway | |
| Uses of CommandCallback in org.axonframework.commandhandling |
|---|
| Methods in org.axonframework.commandhandling with parameters of type CommandCallback | ||
|---|---|---|
|
SimpleCommandBus.dispatch(CommandMessage<?> command,
CommandCallback<R> callback)
|
|
|
CommandBus.dispatch(CommandMessage<?> command,
CommandCallback<R> callback)
Dispatch the given command to the CommandHandler subscribed to that type of command. |
|
protected
|
SimpleCommandBus.doDispatch(CommandMessage<?> command,
CommandCallback<R> callback)
Performs the actual dispatching logic. |
|
protected
|
AsynchronousCommandBus.doDispatch(CommandMessage<?> command,
CommandCallback<R> callback)
|
|
| Uses of CommandCallback in org.axonframework.commandhandling.callbacks |
|---|
| Classes in org.axonframework.commandhandling.callbacks that implement CommandCallback | |
|---|---|
class |
FutureCallback<R>
Command Handler Callback that allows the dispatching thread to wait for the result of the callback, using the Future mechanism. |
class |
NoOpCallback
Callback that does absolutely nothing when invoked. |
class |
VoidCallback
Abstract callback that can be extended when no result is expected from the command handler execution. |
| Uses of CommandCallback in org.axonframework.commandhandling.disruptor |
|---|
| Classes in org.axonframework.commandhandling.disruptor that implement CommandCallback | |
|---|---|
class |
BlacklistDetectingCallback<R>
Wrapper for command handler Callbacks that detects blacklisted aggregates and starts a cleanup process when an aggregate is blacklisted. |
| Methods in org.axonframework.commandhandling.disruptor with parameters of type CommandCallback | ||
|---|---|---|
|
DisruptorCommandBus.dispatch(CommandMessage<?> command,
CommandCallback<R> callback)
|
|
|
DisruptorCommandBus.doDispatch(CommandMessage command,
CommandCallback<R> callback)
Forces a dispatch of a command. |
|
| Constructors in org.axonframework.commandhandling.disruptor with parameters of type CommandCallback | |
|---|---|
BlacklistDetectingCallback(CommandCallback<R> delegate,
CommandMessage command,
com.lmax.disruptor.RingBuffer<CommandHandlingEntry> ringBuffer,
DisruptorCommandBus commandBus,
boolean rescheduleOnCorruptState)
Initializes the callback which allows the given command to be rescheduled on the given
ringBuffer if it failed due to a corrupt state. |
|
| Uses of CommandCallback in org.axonframework.commandhandling.gateway |
|---|
| Classes in org.axonframework.commandhandling.gateway that implement CommandCallback | |
|---|---|
class |
RetryingCallback<R>
Callback implementation that will invoke a retry scheduler if a command results in a runtime exception. |
| Methods in org.axonframework.commandhandling.gateway with parameters of type CommandCallback | ||
|---|---|---|
|
DefaultCommandGateway.send(Object command,
CommandCallback<R> callback)
|
|
|
CommandGateway.send(Object command,
CommandCallback<R> callback)
Sends the given command, and have the result of the command's execution reported to the given
callback. |
|
protected
|
AbstractCommandGateway.send(Object command,
CommandCallback<R> callback)
Sends the given command, and invokes the callback when the command is processed. |
|
| Constructors in org.axonframework.commandhandling.gateway with parameters of type CommandCallback | |
|---|---|
RetryingCallback(CommandCallback<R> delegate,
CommandMessage commandMessage,
RetryScheduler retryScheduler,
CommandBus commandBus)
Initialize the RetryingCallback with the given delegate, representing the actual callback passed as
a parameter to dispatch, the given commandMessage, retryScheduler and
commandBus. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||