Skip to main content

Interface: IWorkerSlotsInfo

worker.v1.IWorkerSlotsInfo

Properties of a WorkerSlotsInfo.

Hierarchy

Properties

currentAvailableSlots

Optional currentAvailableSlots: null | number

Number of slots available for the worker to specific tasks. May be -1 if the upper bound is not known.

Inherited from

$Properties.currentAvailableSlots


currentUsedSlots

Optional currentUsedSlots: null | number

Number of slots used by the worker for specific tasks.

Inherited from

$Properties.currentUsedSlots


lastIntervalFailureTasks

Optional lastIntervalFailureTasks: null | number

Number of failed tasks processed since the last heartbeat from the worker.

Inherited from

$Properties.lastIntervalFailureTasks


lastIntervalProcessedTasks

Optional lastIntervalProcessedTasks: null | number

Number of tasks processed in since the last heartbeat from the worker. This is a cumulative counter, and it is reset to 0 each time the worker sends a heartbeat. Contains both successful and failed tasks.

Inherited from

$Properties.lastIntervalProcessedTasks


slotSupplierKind

Optional slotSupplierKind: null | string

Kind of the slot supplier, which is used to determine how the slots are allocated. Possible values: "Fixed | ResourceBased | Custom String"

Inherited from

$Properties.slotSupplierKind


totalFailedTasks

Optional totalFailedTasks: null | number

Total number of failed tasks processed by the worker so far.

Inherited from

$Properties.totalFailedTasks


totalProcessedTasks

Optional totalProcessedTasks: null | number

Total number of tasks processed (completed both successfully and unsuccesfully, or any other way) by the worker since the worker started. This is a cumulative counter.

Inherited from

$Properties.totalProcessedTasks