Settlement

data class Settlement(val committed: CommandResult, val reached: List<CommandResult> = emptyList(), val outcome: CommandOutcome? = null, val cause: Throwable? = null)

What executing a command reached at once: its committed result, at its COMMITTED hop, then the later hops it reached without waiting for a subscription. The hops after them are signalled to the wait's origin. outcome is the kernel's when this node executed the command; null when another node did and replied, or when the executor did not take it.

Constructors

Link copied to clipboard
constructor(committed: CommandResult, reached: List<CommandResult> = emptyList(), outcome: CommandOutcome? = null, cause: Throwable? = null)

Properties

Link copied to clipboard

What failed the handling of a ResultCodes.FAILED command here, or the store that refused it (ResultCodes.STORAGE_UNAVAILABLE): for this node's logs, ledger and failure classification only.

Link copied to clipboard
Link copied to clipboard

Whether committed is FAILED: a technical failure, such as contention, an unknown outcome or a busy lane.

Link copied to clipboard

What made committed FAILED, when this node knows it: the handling's cause, or an unknown append's.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The rejection committed ends with, when it is REJECTED (a business outcome).