MarkParkedRecoverable

class MarkParkedRecoverable @InternalWowApi constructor(val subscription: String, val context: String, val aggregate: String, val tenantId: String, val id: String, val recoverable: Recoverable, val failedAt: Long? = null) : LedgerCommand

Marks the entry recoverable (Ledger.MARK_PARKED_RECOVERABLE, 9.x MarkRecoverable). On the wire the value is spelled recoverable, unrecoverable or unknown (me.ahoo.wow.api.wire.WireNames); any other spelling is refused.

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

Constructors

Link copied to clipboard
constructor(subscription: String, context: String, aggregate: String, tenantId: String, id: String, recoverable: Recoverable, failedAt: Long? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val aggregate: String
Link copied to clipboard
open override val context: String
Link copied to clipboard

When the entry acted on was parked (epoch milliseconds, the entry's failedAt), as the caller saw it: the owning service refuses the action as me.ahoo.wow.api.result.FrameworkCodes.LEDGER_STALE when the entry it holds was parked at another time, and the check is made in the ledger's own write. Null acts on whichever parking the entry holds: a caller that leaves it out accepts acting on a parking it may not have seen; the ops console always sends it.

Link copied to clipboard
open override val id: String
Link copied to clipboard
Link copied to clipboard
open override val subscription: String
Link copied to clipboard
open override val tenantId: String

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