Request

class Request @InternalWowApi constructor(val request: LedgerRequest, val failedAt: Long? = null) : ParkedAmendment

Leaves request for the partition's owner, replacing the one there, claimed or not (and ending its claim: ClaimRequest). A request belongs to the parking it was made for: a park that replaces the entry, or a repark, that fails at another time clears it (FailureLedger.park, FailureLedger.repark), so it is never taken on a parking nobody looked at. The operator's action is told apart by failedAt, when the parking it was made for failed (the entry's ParkedAggregate.failedAt, as the operator saw it): the ledger applies it only while the entry it holds is that parking, in the same write. Null applies it to whichever parking is there: a caller that leaves it out accepts acting on a parking it may not have seen; the ops console always sends it.

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

Constructors

Link copied to clipboard
constructor(request: LedgerRequest, failedAt: Long? = null)

Types

Link copied to clipboard
object Companion

Properties

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