X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FDynamicClusterPool.html;h=afc454110a1456263a093f9170ec3efaa683cbec;hb=628134dbd19951f3f60bf4a99bfc7607bd2a8161;hp=ae34f527d938c417ca34dfdb07def1ef26d6ab7f;hpb=fddf9cc424b3ace38fd414899c666c76a03c3aff;p=poolifier.git diff --git a/docs/classes/DynamicClusterPool.html b/docs/classes/DynamicClusterPool.html index ae34f527..afc45411 100644 --- a/docs/classes/DynamicClusterPool.html +++ b/docs/classes/DynamicClusterPool.html @@ -45,7 +45,7 @@ When the maximum number of workers is reached and workers are busy, an event is
Protected
Readonly
fileProtected
Readonly
maxProtected
Readonly
numberProtected
Readonly
optsProtected
promiseProtected
workerReadonly
workerProtected
fullProtected
maxProtected
minProtected
typeProtected
workerThe received message.
Protected
afterProtected
beforeHook executed before the worker task execution. Can be overridden.
@@ -381,26 +380,30 @@ Can be overridden.The worker node key.
The task to execute.
+Protected
chooseProtected
createChooses a worker node for the next task.
-The default worker choice strategy uses a round robin algorithm to distribute the load.
+Creates a new dynamic worker and sets it up completely in the pool worker nodes.
The worker node key
+New, completely set up dynamic worker.
+Protected
createProtected
createReturns a newly created worker.
+Creates a new worker.
Newly created worker.
+ +Shutdowns every current worker in this pool.
+Terminate every current worker in this pool.
Protected
destroyShutdowns the given worker.
+Terminates the given worker.
Protected
internalProtected
isInherited from FixedClusterPool.isMain
Protected
registerInherited from FixedClusterPool.registerWorkerMessageListener
Protected
sendThe message.
Inherited 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
workerThe listener function to execute when a message is received from a worker.
Inherited from FixedClusterPool.workerListener
Worker choice strategy context referencing a worker choice algorithm implementation.
-Default to a round robin algorithm.