CommandDispatchingPhase

public final class CommandDispatchingPhase<I> extends Phase<I>

A phase that dispatched a command to the entity in transaction.

Parameters

<I>

the type of entity ID

Constructors

Link copied to clipboard
public void CommandDispatchingPhase(Transaction<I, ? extends Object, ? extends Object, ? extends Object> transaction, DispatchCommand<I> dispatch, VersionIncrement versionIncrement)

Functions

Link copied to clipboard
public I entityId()
Returns the ID of the entity to which the Message is dispatched.
Link copied to clipboard
public SignalId messageId()
Returns the dispatched Message ID.
Link copied to clipboard
protected DispatchOutcome performDispatch()
Executes the dispatch task and returns the result.
Link copied to clipboard
protected Signal<?, ?, ?> signal()
Obtains the signal message applied by this phase.