InMemoryFailureLedger
A FailureLedger in memory, for tests and samples, keyed by subscription (SubscriptionId) and aggregate. Every operation is serialized by one lock.
Functions
Link copied to clipboard
open suspend override fun amend(subscription: SubscriptionId, ref: AggregateRef, amendment: ParkedAmendment): ParkedAggregate?
Link copied to clipboard
Link copied to clipboard
open suspend override fun due(subscription: SubscriptionId, partitions: Collection<Int>, now: Long, after: AggregateRef?, limit: Int): List<ParkedAggregate>
Link copied to clipboard
open suspend override fun list(subscription: SubscriptionId, after: AggregateRef?, limit: Int, tenantId: String?): List<ParkedAggregate>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun resolve(subscription: SubscriptionId, ref: AggregateRef, partition: Int): ParkedAggregate?
Link copied to clipboard
open suspend override fun resolveAnywhere(subscription: SubscriptionId, ref: AggregateRef): ParkedAggregate?