bend-kit-runner
Search uses release 0.13.0.1 · 251 definitions
Definitions (251)
- type WhyWhy retry gave up on a ticket: its budget was spent, its deadline passed, its failure must not repeat, or another try would repeat its failure.
- type DeadA ticket that retry gave up on, with its payload, and when it gave up (wall-clock ms).
- type OpOne durable transition.
- type TryThe failed attempts of a ticket, and its first deadline, from which the policy deadline counts.
- def TriesA Try for each ticket that is not yet complete, cancelled, or dead, by ticket id.
- def BreakersThe breaker state of each target that has one, by target.
- def dead.hash
- def GravesThe dead tickets, by ticket id.
- type StateThe durable state: the queue, the tries, the dead tickets, and the breakers.
- def new
- def queue
- def tries
- def deadThe dead tickets, by id.
- def breakers
- def dead.get
- def dead.drop
- def dead.bury
- def dead.list.entries
- def dead.list.go
- def dead.listThe dead tickets, in no set order.
- def dead.old.keep
- def dead.oldThe ids of the dead tickets abandoned before t.
- def dead.drops
- def dead.purgeThe dead tickets without those abandoned before t.
- def tries.drop
- def tries.get
- def tries.bump.got
- def tries.bump
- def brk.got
- def brk.getThe breaker state of target key.
- def brk.state
- def brk.nats
- def brk.same
- def calm.state
- def calm.map
- def calmThe probes of a half-open breaker died with the process that ran them, so open counts none in flight.
- def step.enqueued
- def step.selected
- def step.requeued
- def step.completedComplete takes the ticket from the running list only: O(running), not O(pending).
- def step.abandonedAbandon takes the ticket from the running list, as Complete does, and keeps it with its payload.
- def step.revivedThe revived ticket keeps its payload and takes id i, the key it was dead under.
- def step.brokeA closed breaker with no failures reads the same as an absent one, so it leaves the map.
- def stepThe state after op.
- def apply.op
- def applyFolds one record into the replayed state.
- type RecA journal record.
- def load.rec
- def loadFolds one record into the replayed state: a Snap replaces it, and an op steps it, as apply does.
- type PickPicked: a due ticket and one unit of the pool for it.
- def pick.took
- def pick.due
- def pick.sel
- def pickThe ticket that Select{now} takes, with one unit of p, when there is a ticket due and a unit free.
- def budget.ofThe budget left for ticket i: the policy's attempts less its failures, until its start plus the policy deadline.
- def budget
- def failsThe failures so far: the index of the next retry.
- def gaveWhy retry stopped a transient failure: no attempt is left, or the next wait would reach the deadline.
- def stoppedA settled attempt completes its ticket; retry gave up at now on any other.
- def after.plan
- def afterThe record after an attempt of ticket id ends at now with o: requeue at now plus retry's wait, complete when o is settled, or abandon when retry gave up.
- def brk.afterA target's breaker after an attempt ends at now with o.
- def untilWhen an open breaker lets attempts start again.
- def heldThe record for a ticket that admit refused: Defer to when the breaker may admit, or Abandon when its budget is spent or late.
- def why.code
- def W
- def put.u64Nat fields hold values under 2^64.
- def head
- def snap.u32
- def snap.u64
- def snap.chars
- def snap.keyA target is a u32 count of chars, then each char as a u32.
- def snap.nats
- def snap.brkA breaker state is a u32 kind.
- def encode
- def get.field
- def get.u32
- def get.hi
- def get.lo
- def get.u64
- def snap.payload
- def snap.ticket
- def snap.heap
- def snap.run
- def snap.tries
- def snap.entries
- def snap.graves
- def snap.brks
- def encode.snapThe Snap record of s.
- def encode.rec
- type RdA snapshot reader: the record, and the offset of the next field.
- def DecOne step of the snapshot decoder.
- def Dec.next
- def Dec.bind
- def Dec.pure
- def Dec.fail
- def rd.u32.of
- def rd.u32.got
- def rd.u32.at
- def rd.u32