Package-level declarations

Types

Link copied to clipboard

The id of the aggregate a command acts on, read from its JSON body by the property a contract names (idProperty, the command class's @AggregateId): what a sender that has no class of the command reads, or one that reads it as its contract describes it.

Link copied to clipboard

An aggregate's state as JSON, as Wow writes and reads it (mapper, from WowJson's configuration), and the fingerprint of that JSON's shape (fingerprint): what a snapshot carries (me.ahoo.wow.spi.snapshot.SnapshotRecord, me.ahoo.wow.spi.state.PublishedState) and the Manifest records for a state, so a snapshot written under another shape is replayed from the log instead of read back. The kernel's event codec and the Manifest's generator both take them from here, so the two always agree.

Link copied to clipboard
object WowEnums

Wow's own enumerations on the wire, each listed here and written by its wire name (WireNames): CATCH_UP is catch-up. A reader takes the wire name alone; a value it does not know fails, unless the reader may be older than its writer (module with tolerant), which reads it as the enumeration's UNKNOWN where it has one.

Link copied to clipboard
object WowJson

The one JSON mapper configuration of Wow: the kernel's event codec, the cluster codec and every backend build their mappers from builder, so a value means the same thing wherever it is read.