From 73d8141b526469f4fce46da956280f2b9146accb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 7 May 2023 21:40:33 +0000 Subject: [PATCH] chore: generate documentation --- docs/classes/AbstractPool.html | 106 +++++++++--------- docs/classes/AbstractWorker.html | 36 +++--- docs/classes/CircularArray.html | 22 ++-- docs/classes/ClusterWorker.html | 30 ++--- docs/classes/DynamicClusterPool.html | 70 ++++++------ docs/classes/DynamicThreadPool.html | 70 ++++++------ docs/classes/FixedClusterPool.html | 68 +++++------ docs/classes/FixedThreadPool.html | 68 +++++------ docs/classes/PoolEmitter.html | 2 +- docs/classes/Queue.html | 16 +-- docs/classes/ThreadWorker.html | 30 ++--- docs/classes/WorkerChoiceStrategyContext.html | 22 ++-- docs/enums/PoolType.html | 6 +- docs/interfaces/ClusterPoolOptions.html | 24 ++-- docs/interfaces/IPool.html | 22 ++-- docs/interfaces/IWorker.html | 6 +- docs/interfaces/IWorkerChoiceStrategy.html | 14 +-- docs/interfaces/MessageValue.html | 16 +-- docs/interfaces/PoolOptions.html | 20 ++-- docs/interfaces/PromiseResponseWrapper.html | 8 +- docs/interfaces/RequiredStatistics.html | 8 +- docs/interfaces/Task.html | 8 +- docs/interfaces/TasksQueueOptions.html | 4 +- docs/interfaces/TasksUsage.html | 16 +-- .../WorkerChoiceStrategyOptions.html | 6 +- docs/interfaces/WorkerNode.html | 8 +- docs/interfaces/WorkerOptions.html | 8 +- docs/types/Draft.html | 2 +- docs/types/ErrorHandler.html | 2 +- docs/types/ExitHandler.html | 2 +- docs/types/KillBehavior.html | 2 +- docs/types/MessageHandler.html | 2 +- docs/types/OnlineHandler.html | 2 +- docs/types/PoolEvent.html | 2 +- docs/types/TaskFunctions.html | 2 +- .../types/ThreadWorkerWithMessageChannel.html | 2 +- docs/types/WorkerAsyncFunction.html | 2 +- docs/types/WorkerChoiceStrategy.html | 2 +- docs/types/WorkerFunction.html | 2 +- docs/types/WorkerSyncFunction.html | 2 +- docs/variables/KillBehaviors.html | 2 +- docs/variables/PoolEvents.html | 2 +- docs/variables/WorkerChoiceStrategies.html | 2 +- 43 files changed, 373 insertions(+), 373 deletions(-) diff --git a/docs/classes/AbstractPool.html b/docs/classes/AbstractPool.html index c2a8b6536..82bdaf53d 100644 --- a/docs/classes/AbstractPool.html +++ b/docs/classes/AbstractPool.html @@ -45,7 +45,7 @@
Readonly fileReadonly numberNumber of workers that this pool should manage.
Readonly optsOptions for the pool.
Protected promiseWhen we receive a message from the worker, we get a map entry with the promise resolve/reject bound to the message id.
Protected workerDefault to a round robin algorithm.
Readonly workerProtected Abstract fullPrivate numberPrivate numberAbstract sizeAbstract typeProtected Abstract afterProtected beforePrivate buildPrivate checkPrivate checkPrivate checkPrivate checkPrivate checkPrivate checkPrivate checkProtected choose[worker node key, worker node].
Protected createNew, completely set up worker.
Protected Abstract createPrivate dequeueProtected Abstract destroyPrivate enqueuePrivate executePrivate flushPrivate flushPrivate getThe worker node key if the worker is found in the pool worker nodes, -1 otherwise.
Protected internalProtected Abstract isPrivate pushThe worker nodes length.
Protected Abstract registerPrivate removeProtected Abstract sendPrivate setPrivate setProtected setupPrivate tasksProtected workerThe listener function to execute when a message is received from a worker.
Private checkReference to the main worker.
Private getProtected handleMessage of the error.
Protected messageProtected runProtected Abstract sendStatic Readonly [species]Overrides Array.concat
Overrides Array.push
Overrides Array.splice
Overrides Array.unshift
Overrides AbstractWorker.constructor
Inherited from AbstractWorker.aliveInterval
Protected Readonly isInherited from AbstractWorker.isMain
Protected lastInherited from AbstractWorker.lastTaskTimestamp
Protected mainInherited from AbstractWorker.mainWorker
Protected Readonly optsInherited from AbstractWorker.opts
Protected taskInherited from AbstractWorker.taskFunctions
Inherited from AbstractWorker.checkAlive
Inherited from AbstractWorker.getMainWorker
Protected handleOverrides AbstractWorker.handleError
Protected messageInherited from AbstractWorker.messageListener
Protected runInherited from AbstractWorker.runAsync
Inherited from AbstractWorker.runSync
Protected sendOverrides AbstractWorker.sendToMainWorker
Overrides FixedClusterPool.constructor
Inherited from FixedClusterPool.emitter
Readonly fileInherited from FixedClusterPool.filePath
Readonly maxMaximum number of workers that can be created by this pool.
Readonly numberInherited from FixedClusterPool.numberOfWorkers
Readonly optsInherited from FixedClusterPool.opts
Protected promiseInherited from FixedClusterPool.promiseResponseMap
Protected workerInherited from FixedClusterPool.workerChoiceStrategyContext
Readonly workerInherited from FixedClusterPool.workerNodes
Overrides FixedClusterPool.busy
Protected fullOverrides FixedClusterPool.full
Private numberInherited from FixedClusterPool.numberOfQueuedTasks
Private numberInherited from FixedClusterPool.numberOfRunningTasks
Overrides FixedClusterPool.size
Overrides FixedClusterPool.type
Inherited from FixedClusterPool.afterTaskExecutionHook
Protected afterInherited from FixedClusterPool.afterWorkerSetup
Protected beforeInherited from FixedClusterPool.beforeTaskExecutionHook
Protected chooseInherited from FixedClusterPool.chooseWorkerNode
Protected createInherited from FixedClusterPool.createAndSetupWorker
Protected createInherited from FixedClusterPool.createWorker
Inherited from FixedClusterPool.destroy
Protected destroyInherited from FixedClusterPool.destroyWorker
Inherited from FixedClusterPool.enableTasksQueue
Inherited from FixedClusterPool.execute
Protected internalInherited from FixedClusterPool.internalBusy
Protected isInherited from FixedClusterPool.isMain
Protected registerInherited from FixedClusterPool.registerWorkerMessageListener
Protected sendInherited from FixedClusterPool.sendToWorker
Inherited from FixedClusterPool.setTasksQueueOptions
Inherited from FixedClusterPool.setWorkerChoiceStrategy
Inherited from FixedClusterPool.setWorkerChoiceStrategyOptions
Protected setupInherited from FixedClusterPool.setupHook
Protected workerInherited from FixedClusterPool.workerListener
Inherited from FixedThreadPool.numberOfWorkers
Readonly optsInherited from FixedThreadPool.opts
Protected promiseInherited from FixedThreadPool.promiseResponseMap
Protected workerInherited from FixedThreadPool.workerChoiceStrategyContext
Readonly workerInherited from FixedThreadPool.workerNodes
Overrides FixedThreadPool.busy
Protected fullOverrides FixedThreadPool.full
Private numberInherited from FixedThreadPool.numberOfQueuedTasks
Private numberInherited from FixedThreadPool.numberOfRunningTasks
Overrides FixedThreadPool.size
Overrides FixedThreadPool.type
Inherited from FixedThreadPool.afterTaskExecutionHook
Protected afterInherited from FixedThreadPool.afterWorkerSetup
Protected beforeInherited from FixedThreadPool.beforeTaskExecutionHook
Protected chooseInherited from FixedThreadPool.chooseWorkerNode
Protected createInherited from FixedThreadPool.createAndSetupWorker
Protected createInherited from FixedThreadPool.createWorker
Inherited from FixedThreadPool.destroy
Protected destroyInherited from FixedThreadPool.destroyWorker
Inherited from FixedThreadPool.enableTasksQueue
Inherited from FixedThreadPool.execute
Protected internalInherited from FixedThreadPool.internalBusy
Protected isInherited from FixedThreadPool.isMain
Protected registerInherited from FixedThreadPool.registerWorkerMessageListener
Protected sendInherited from FixedThreadPool.sendToWorker
Inherited from FixedThreadPool.setTasksQueueOptions
Inherited from FixedThreadPool.setWorkerChoiceStrategy
Inherited from FixedThreadPool.setWorkerChoiceStrategyOptions
Protected setupInherited from FixedThreadPool.setupHook
Protected workerInherited from FixedThreadPool.workerListener
Inherited from AbstractPool.numberOfWorkers
Readonly optsInherited from AbstractPool.opts
Protected promiseInherited from AbstractPool.promiseResponseMap
Protected workerInherited from AbstractPool.workerChoiceStrategyContext
Readonly workerInherited from AbstractPool.workerNodes
Overrides AbstractPool.busy
Protected fullOverrides AbstractPool.full
Private numberInherited from AbstractPool.numberOfQueuedTasks
Private numberInherited from AbstractPool.numberOfRunningTasks
Overrides AbstractPool.size
Overrides AbstractPool.type
Inherited from AbstractPool.afterTaskExecutionHook
Protected afterOverrides AbstractPool.afterWorkerSetup
Protected beforeInherited from AbstractPool.beforeTaskExecutionHook
Protected chooseInherited from AbstractPool.chooseWorkerNode
Protected createInherited from AbstractPool.createAndSetupWorker
Protected createOverrides AbstractPool.createWorker
Inherited from AbstractPool.destroy
Protected destroyOverrides AbstractPool.destroyWorker
Inherited from AbstractPool.enableTasksQueue
Inherited from AbstractPool.execute
Protected internalInherited from AbstractPool.internalBusy
Protected isOverrides AbstractPool.isMain
Protected registerOverrides AbstractPool.registerWorkerMessageListener
Protected sendOverrides AbstractPool.sendToWorker
Inherited from AbstractPool.setTasksQueueOptions
Inherited from AbstractPool.setWorkerChoiceStrategy
Inherited from AbstractPool.setWorkerChoiceStrategyOptions
Protected setupOverrides AbstractPool.setupHook
Protected workerInherited from AbstractPool.workerListener
Inherited from AbstractPool.numberOfWorkers
Readonly optsInherited from AbstractPool.opts
Protected promiseInherited from AbstractPool.promiseResponseMap
Protected workerInherited from AbstractPool.workerChoiceStrategyContext
Readonly workerInherited from AbstractPool.workerNodes
Overrides AbstractPool.busy
Protected fullOverrides AbstractPool.full
Private numberInherited from AbstractPool.numberOfQueuedTasks
Private numberInherited from AbstractPool.numberOfRunningTasks
Overrides AbstractPool.size
Overrides AbstractPool.type
Inherited from AbstractPool.afterTaskExecutionHook
Protected afterOverrides AbstractPool.afterWorkerSetup
Protected beforeInherited from AbstractPool.beforeTaskExecutionHook
Protected chooseInherited from AbstractPool.chooseWorkerNode
Protected createInherited from AbstractPool.createAndSetupWorker
Protected createOverrides AbstractPool.createWorker
Inherited from AbstractPool.destroy
Protected destroyOverrides AbstractPool.destroyWorker
Inherited from AbstractPool.enableTasksQueue
Inherited from AbstractPool.execute
Protected internalInherited from AbstractPool.internalBusy
Protected isOverrides AbstractPool.isMain
Protected registerOverrides AbstractPool.registerWorkerMessageListener
Protected sendOverrides AbstractPool.sendToWorker
Inherited from AbstractPool.setTasksQueueOptions
Inherited from AbstractPool.setWorkerChoiceStrategy
Inherited from AbstractPool.setWorkerChoiceStrategyOptions
Protected setupInherited from AbstractPool.setupHook
Protected workerInherited from AbstractPool.workerListener
Inherited from AbstractWorker.mainWorker
Protected Readonly optsInherited from AbstractWorker.opts
Protected taskInherited from AbstractWorker.taskFunctions
Inherited from AbstractWorker.checkAlive
Inherited from AbstractWorker.getMainWorker
Protected handleInherited from AbstractWorker.handleError
Protected messageInherited from AbstractWorker.messageListener
Protected runInherited from AbstractWorker.runAsync
Inherited from AbstractWorker.runSync
Protected sendOverrides AbstractWorker.sendToMainWorker
Private Readonly workerPrivate workerThe worker choice strategy.
Executes the worker choice strategy algorithm in the context.
-@node/api/errors.html#class-error If the worker node key is null or undefined.
+https://nodejs.org/api/errors.html#class-error If the worker node key is null or undefined.
The key of the worker node.
The required statistics.
true if the removal is successful, false otherwise.
true if the update is successful, false otherwise.
Inherited from PoolOptions.errorHandler
Optional exitInherited from PoolOptions.exitHandler
Optional messageInherited from PoolOptions.messageHandler
Optional onlineInherited from PoolOptions.onlineHandler
Optional settingshttps://nodejs.org/api/cluster.html#cluster_cluster_settings
Optional tasksInherited from PoolOptions.tasksQueueOptions
Optional workerInherited from PoolOptions.workerChoiceStrategy
Optional workerInherited from PoolOptions.workerChoiceStrategyOptions
Promise that will be fulfilled when the task is completed.
Readonly sizePool maximum size.
Readonly typeIf it is 'dynamic', it provides the max property.
Readonly workerPool worker nodes.
true if the update is successful, false otherwise.
Optional Readonly parentReference to main worker.
Optional Readonly runRuntime.
Optional workerThe worker choice strategy options.
Readonly workerThe worker handling the execution.
Path to the worker file.