Transport

class Transport @InternalWowApi constructor(val wait: WaitContext? = null, val reservations: List<ReservationKey> = emptyList(), val trace: Map<String, String> = emptyMap(), val releases: List<ReservationKey> = emptyList())

What an append carries for delivery, not as fact (§4): domain code and queries never see it, and a migration or a replay drops it. The runtime appends it encoded (TransportCodec), and a backend stores those bytes apart from the stream (its own column or field), never reading them.

  • wait is the wait context of a command whose caller waits beyond COMMITTED: the subscription named by its next hop signals the waiting node once it has handled the entry.

  • reservations are the keys this attempt reserved, held already or not: the reservation subscription confirms them from the log, so a key is confirmed even when the after-append fast path never ran.

  • trace is tracing context such as the W3C traceparent.

  • releases are the keys this attempt released: the kernel releases them once the append commits, and the reservation subscription releases them again from the log, after the keys of reservations are confirmed, so a release is not lost to a crash after the append.

Fields may be added: construct one with of; the constructor is internal to Wow.

Constructors

Link copied to clipboard
constructor(wait: WaitContext? = null, reservations: List<ReservationKey> = emptyList(), trace: Map<String, String> = emptyMap(), releases: List<ReservationKey> = emptyList())

Types

Link copied to clipboard
object Companion

Properties

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

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String