Scenario

enum class Scenario : Enum<Scenario>

An end-to-end scenario: what one operation sends, and what makes it complete. An operation completes with null when it reached its completion point, or with why not (an error kind, counted in the results).

Entries

Link copied to clipboard

E1 write: a deposit, answered once its events are stored.

Link copied to clipboard

E2 read-your-write: a deposit answered once the snapshot holds it, then a read of the state that shows it.

Link copied to clipboard

E3 cross-aggregate saga chain: a transfer, answered once the target account has entered the amount.

Link copied to clipboard

E1 with a large payload (note ⑥): an annotation of five notes of about 2 KB, five events in one commit, answered once stored. V10 only.

Link copied to clipboard

E4 read by id: the account's state from the snapshots.

Link copied to clipboard

E4 list query: ten accounts from the snapshots.

Types

Link copied to clipboard
object Companion

Companion properties

Link copied to clipboard

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

Link copied to clipboard
fun valueOf(value: String): Scenario

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
Link copied to clipboard

The scenario's name in the results and on the command line: E1, E4-state.

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun run(client: Client, target: Target): CompletableFuture<String?>