RetryParked

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

Handles the parked aggregate again from where it is parked (Ledger.RETRY).

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, 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, resolved and parked again since. Null acts on the entry it holds, whatever its parking: a retry only handles the parked streams again, so acting on the current parking loses nothing.

Link copied to clipboard
open override val id: String
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