Skip to main content

Interface: $Properties

v1.WorkerSlotsInfo.$Properties

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.


currentUsedSlots​

• Optional currentUsedSlots: null | number

Number of slots used by the worker for specific tasks.


lastIntervalFailureTasks​

• Optional lastIntervalFailureTasks: null | number

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


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.


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"


totalFailedTasks​

• Optional totalFailedTasks: null | number

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


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.