• OctoMY API
  • OctoMY API Reference
  • batch Namespace
  • batch Namespace

    Batch jobs: the queue, the workers that run the jobs, and the dispatcher between them. More...

    Header: #include <batch>
    Since: 1.0

    Classes

    (since 1.0) struct BatchJob
    (since 1.0) struct BatchJobLog
    (since 1.0) class BatchQueue
    class BatchStatusWidget
    (since 1.0) class IBatchWorker

    Detailed Description

    A caller submits a BatchJob to a BatchQueue. The dispatcher offers each pending job to a registered IBatchWorker that accepts its type, on this node or, for a portable job, on another one. BatchQueueService gives the queue a node service lifecycle.

    Classes

    class BatchJob

    Single unit of work scheduled through BatchQueue. More...

    class BatchJobLog

    One log line that a batch job wrote: its level, its message and when it was written. More...

    class BatchQueue

    Generic FIFO/priority queue for asynchronous batch jobs. More...

    class BatchStatusWidget

    Header chip tracking the BatchQueue. Inherits all visual concerns from HeaderProgressChip; this class only wires the queue's signals to the chip's state setters. More...

    class IBatchWorker

    The interface every batch worker implements: what it is, which jobs it takes, and how it runs them. More...