Restate

class Restate @InternalWowApi constructor(val revision: Long, val reason: String, val failedAt: Long, val retries: Int, val retryAt: Long?, val retrySpec: ParkedRetrySpec?, val recoverable: Recoverable) : ParkedAmendment

Restates the entry as another record of the same failure holds it now: when the entry is still at revision, the one read, it is parked for reason since failedAt, with retries retries made, the last one started at retryAt, under retrySpec, marked recoverable. An operator's request stays, for the partition's owner.

It is the import of 9.x compensations' amendment, not an operator's: the import parked the entry for a 9.x execution that 9.x went on retrying until the cut-over, and brings the entry up to what 9.x holds of it now. Applying only at the revision read, it never covers a write since: a retry V10 made of the entry, an operator's change, a repark or a re-home.

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

Constructors

Link copied to clipboard
constructor(revision: Long, reason: String, failedAt: Long, retries: Int, retryAt: Long?, retrySpec: ParkedRetrySpec?, recoverable: Recoverable)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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