Who takes the lease.
Lease duration in ms.
Current time (epoch ms).
Max records to claim.
OptionalreclaimAlso take records leased by owner itself whose lease has not expired yet: a
restarted process with a stable instanceId reclaims what its previous
incarnation left in flight, without waiting for the lease to expire.
OptionalpartitionsOnly claim records whose partition (inbox) or chat (outbox) passes this filter (multi-replica ownership).
OptionalreclaimWith reclaimOwn: re-claim an own sending record only when its lease ends before
this time (epoch ms). A restarted replica's first sweep passes recoveredAt + leaseMs:
the leases its dead incarnation took end earlier, the ones it took itself since then end
later, so it never steals a send it is making (which would leave that send's completion
with a superseded fencing token). A journal that ignores it re-claims every own lease.
Options of OutboxJournal.claimDue.