Firing

org.llm4s.agent.service.Firing
See theFiring companion object
@Experimental
final case class Firing

One fire time of a schedule, claimed by one instance (decision 2): the store holds one per (tenantId, scheduleId, fireAt), so a fire time is claimed once across the fleet.

  • threadId: the thread the firing runs on, fixed when it is claimed, so a firing taken up again after its claimant died runs on the same one.
  • claimedAt: when it was claimed, by the store's clock.
  • missed: how many later fire times this firing passed over (decision 3).
  • outcome, settledAt: what became of it and when, by the store's clock; None until it is settled.
  • deleteThreadAt: for a fresh-thread schedule with a keepFor, when its thread is to be deleted - keepFor after the claim - until the thread has been deleted (ScheduleStore.threadDeleted); None otherwise, and None once the firing is settled SkippedMissed or Refused, which never made a thread. Abandoned keeps it: its claimant may have submitted before it died.

Attributes

Companion
object
Source
Schedule.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product