Package-level declarations

Types

Link copied to clipboard

The FailureLedger keys an entry by its subscription's identity, its context and name (SubscriptionId), every backend alike: names are unique within a context only, and the contexts of a service whose stores are one store share one ledger. Two subscriptions of one name in two contexts, which park the same aggregate in the same partition, never see, list, count, re-park, amend or resolve each other's entries, through any method of the port.

Link copied to clipboard

The parking an operator acts on, part of the FailureLedger contract every backend passes: an operator's mark, retry spec or request applies only to the parking it names by its failure time, checked in the ledger's own write, and a request belongs to the parking it was made for, so a park or a repark of another failure time clears it; one the owner claims stays on its entry until what it asks settles it, the entry not due before the claim lapses. A backend's test extends it and supplies a ledger from createLedger.

Link copied to clipboard
abstract class FailureLedgerSpec

The FailureLedger contract (documentation/designs/04-subscriptions.md §2) every backend passes. A backend's test extends it and supplies a ledger from createLedger.