X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FDynamicClusterPool.html;h=33d2afd58c6e9a31091c177e8a41426704b705cf;hb=184d530faf6acf70e116cb4a3fb831938b73e2c0;hp=4b1e830ed146af5a1d5b6fb7b4440f82cb0eed33;hpb=88d983fa5c8db26fa52b8a69a2b724ade989db9b;p=poolifier.git diff --git a/docs/classes/DynamicClusterPool.html b/docs/classes/DynamicClusterPool.html index 4b1e830e..33d2afd5 100644 --- a/docs/classes/DynamicClusterPool.html +++ b/docs/classes/DynamicClusterPool.html @@ -42,7 +42,7 @@ When the maximum number of workers is reached and workers are busy, an event is
'full'
: Emitted when the pool is dynamic and full.'busy'
: Emitted when the pool is busy.'error'
: Emitted when an uncaught error occurs.'taskError'
: Emitted when an error occurs while executing a task.Readonly
fileProtected
Readonly
fileReadonly
maxProtected
Readonly
maxMaximum number of workers that can be created by this pool.
Readonly
numberProtected
Readonly
numberNumber of workers that this pool should manage.
Readonly
optsProtected
Readonly
optsOptions for this fixed cluster pool.
Protected
promiseProtected
workerReadonly
workerProtected
fullWhether the pool is full or not.
The pool filling boolean status.
Private
numberNumber of tasks queued in the pool.
+Pool information.
Protected
maxNumber of tasks running in the pool.
+Pool maximum size.
Inherited from FixedClusterPool.numberOfRunningTasks
+Overrides FixedClusterPool.maxSize
Protected
minPool maximum size.
+Pool minimum size.
Overrides FixedClusterPool.size
+Inherited from FixedClusterPool.minSize
Protected
typePool type.
If it is 'dynamic'
, it provides the max
property.
Overrides FixedClusterPool.type
Protected
workerGets the worker type.
+Inherited from FixedClusterPool.worker
+Inherited from FixedClusterPool.afterTaskExecutionHook
Protected
afterInherited from FixedClusterPool.afterWorkerSetup
Protected
beforeInherited from FixedClusterPool.beforeTaskExecutionHook
Protected
chooseChooses a worker node for the next task.
-The default uses a round robin algorithm to distribute the load.
+The default worker choice strategy uses a round robin algorithm to distribute the load.
[worker node key, worker node].
+The worker node key
Inherited 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
The worker choice strategy.
Inherited from FixedClusterPool.setWorkerChoiceStrategy
Inherited from FixedClusterPool.setWorkerChoiceStrategyOptions
Protected
setupInherited from FixedClusterPool.setupHook
Protected
workerInherited from FixedClusterPool.workerListener
Generated using TypeDoc
Path to the worker file.