Breadcrumbs

TaskStatistics

Description

The TaskStatistics component contains data to better understand the state of the state of the station. It also contains action (to use as a last resort) which might unlock some situations.

This component gives information on

  • the TaskableWorker component (hidden in the BtibService), which handle many actions fom components in the btibToolkit module.

  • the Workers component (hidden in the NiagaraNetwork), which handle all the actions requiring a communication between two stations.


Implementation

This component is available in the BtibService.

image2023-3-14_12-27-36-.png


  • Change the refresh interval if needed.

  • Enable the component.


Properties

  • Enabled: Enables or disables the component.

  • TaskableMaxThread: The maximum number of threads in the BtibService Taskable Worker.

  • TaskableQueueSize: The current number of actions in the BtibService Taskable Worker Queue.

  • NiagaraMaxThread: The maximum number of threads in the NiagaraNetwork Workers.

  • NiagaraQueueSize: The current number of actions in the NiagaraNetwork Workers. Queue.


Actions

  • RestartTaskableWorker: Resets the BtibService Taskable Worker. The currently processed tasks will be stopped, the queue will be emptied and a new worker will be created.

  • RestartNiagaraWorkers: Resets the NiagaraNetwork Workers. The currently processed tasks will be stopped, the queue will be emptied and a new worker will be created.