ClaimRequest

class ClaimRequest @InternalWowApi constructor(val revision: Long, val until: Long) : ParkedAmendment

Claims the operator's request the owner read, which it runs, until a time (epoch milliseconds): when the entry is still at revision, the one read, the request stays on it and the entry is scheduled for until (ParkedAggregate.nextAttemptAt), so no owner's scan (FailureLedger.due) runs the request again before then. What the request asks settles it: a skip resolves the entry, a retry resolves it or parks it anew, which clears the request. A run that ends before (a stop, a node that dies) leaves the request to whichever owner reads the entry once the claim has lapsed. An operator's change of the entry ends the claim, as it ends a schedule.

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

Constructors

Link copied to clipboard
constructor(revision: Long, until: Long)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val until: Long

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