From 8d98e603c79d8d00b2b6a33e5f732701a7466234 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 4 Jun 2023 14:10:36 +0000 Subject: [PATCH] chore: generate documentation --- docs/classes/AbstractPool.html | 112 +++++++++--------- docs/classes/AbstractWorker.html | 36 +++--- docs/classes/CircularArray.html | 22 ++-- docs/classes/ClusterWorker.html | 30 ++--- docs/classes/DynamicClusterPool.html | 72 +++++------ docs/classes/DynamicThreadPool.html | 72 +++++------ docs/classes/FixedClusterPool.html | 70 +++++------ docs/classes/FixedThreadPool.html | 70 +++++------ docs/classes/PoolEmitter.html | 2 +- docs/classes/Queue.html | 22 ++-- docs/classes/ThreadWorker.html | 30 ++--- docs/classes/WorkerChoiceStrategyContext.html | 20 ++-- docs/interfaces/ClusterPoolOptions.html | 26 ++-- docs/interfaces/IPool.html | 20 ++-- docs/interfaces/IWorker.html | 6 +- docs/interfaces/IWorkerChoiceStrategy.html | 14 +-- docs/interfaces/MessageValue.html | 22 ++-- docs/interfaces/PoolInfo.html | 22 ++-- docs/interfaces/PoolOptions.html | 22 ++-- docs/interfaces/PromiseResponseWrapper.html | 8 +- docs/interfaces/RequiredStatistics.html | 14 +-- docs/interfaces/Task.html | 10 +- docs/interfaces/TasksQueueOptions.html | 4 +- docs/interfaces/TasksUsage.html | 24 ++-- .../WorkerChoiceStrategyOptions.html | 8 +- 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/PoolType.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/types/WorkerType.html | 2 +- docs/variables/KillBehaviors.html | 2 +- docs/variables/PoolEvents.html | 2 +- docs/variables/PoolTypes.html | 2 +- docs/variables/WorkerChoiceStrategies.html | 2 +- docs/variables/WorkerTypes.html | 2 +- 47 files changed, 407 insertions(+), 407 deletions(-) diff --git a/docs/classes/AbstractPool.html b/docs/classes/AbstractPool.html index b283abbb..fefd8138 100644 --- a/docs/classes/AbstractPool.html +++ b/docs/classes/AbstractPool.html @@ -45,7 +45,7 @@
Protected
Readonly
fileProtected
Readonly
numberNumber of workers that this pool should manage.
Protected
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
fullProtected
Abstract
maxProtected
Abstract
minProtected
Abstract
typeProtected
Abstract
workerProtected
Abstract
afterProtected
beforePrivate
buildPrivate
checkPrivate
checkPrivate
checkPrivate
checkPrivate
checkPrivate
checkPrivate
checkProtected
chooseThe worker node key
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
tasksPrivate
updatePrivate
updateProtected
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
0
is used.
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
Protected
Readonly
fileInherited from FixedClusterPool.filePath
Protected
Readonly
maxMaximum number of workers that can be created by this pool.
Protected
Readonly
numberInherited from FixedClusterPool.numberOfWorkers
Protected
Readonly
optsInherited from FixedClusterPool.opts
Protected
promiseInherited from FixedClusterPool.promiseResponseMap
Protected
workerInherited from FixedClusterPool.workerChoiceStrategyContext
Readonly
workerInherited from FixedClusterPool.workerNodes
Overrides FixedClusterPool.busy
Protected
fullInherited from FixedClusterPool.full
Inherited from FixedClusterPool.info
Protected
maxOverrides FixedClusterPool.maxSize
Protected
minInherited from FixedClusterPool.minSize
Protected
typeOverrides FixedClusterPool.type
Protected
workerInherited from FixedClusterPool.worker
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
Protected
Readonly
optsInherited from FixedThreadPool.opts
Protected
promiseInherited from FixedThreadPool.promiseResponseMap
Protected
workerInherited from FixedThreadPool.workerChoiceStrategyContext
Readonly
workerInherited from FixedThreadPool.workerNodes
Overrides FixedThreadPool.busy
Protected
fullInherited from FixedThreadPool.full
Inherited from FixedThreadPool.info
Protected
maxOverrides FixedThreadPool.maxSize
Protected
minInherited from FixedThreadPool.minSize
Protected
typeOverrides FixedThreadPool.type
Protected
workerInherited from FixedThreadPool.worker
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
Protected
Readonly
optsInherited from AbstractPool.opts
Protected
promiseInherited from AbstractPool.promiseResponseMap
Protected
workerInherited from AbstractPool.workerChoiceStrategyContext
Readonly
workerInherited from AbstractPool.workerNodes
Overrides AbstractPool.busy
Protected
fullInherited from AbstractPool.full
Inherited from AbstractPool.info
Protected
maxOverrides AbstractPool.maxSize
Protected
minOverrides AbstractPool.minSize
Protected
typeOverrides AbstractPool.type
Protected
workerOverrides AbstractPool.worker
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
Protected
Readonly
optsInherited from AbstractPool.opts
Protected
promiseInherited from AbstractPool.promiseResponseMap
Protected
workerInherited from AbstractPool.workerChoiceStrategyContext
Readonly
workerInherited from AbstractPool.workerNodes
Overrides AbstractPool.busy
Protected
fullInherited from AbstractPool.full
Inherited from AbstractPool.info
Protected
maxOverrides AbstractPool.maxSize
Protected
minOverrides AbstractPool.minSize
Protected
typeOverrides AbstractPool.type
Protected
workerOverrides AbstractPool.worker
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.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
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.
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.
Optional
errorInherited from PoolOptions.errorHandler
Optional
exitInherited from PoolOptions.exitHandler
Optional
messageInherited from PoolOptions.messageHandler
Optional
onlineInherited from PoolOptions.onlineHandler
Optional
restartInherited from PoolOptions.restartWorkerOnError
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
infoPool information.
Readonly
workerPool worker nodes.
true
if the update is successful, false
otherwise.
Optional
Readonly
parentReference to main worker.
Optional
Readonly
runRuntime.
Optional
Readonly
submissionInherited from Task.submissionTimestamp
Optional
Readonly
waitWait time.
Readonly
workerThe worker handling the execution.
Path to the worker file.