X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Fclasses%2FDynamicClusterPool.html;h=769620121ddef16922ad01b6b610985fb288a729;hb=5abbf08a224670226e5432695f490fa44ff34937;hp=97483c6146d0573ba1ad5d4974161fade0ccc5cb;hpb=e7339cfd46bfe4600187ae2c6bd6c9e7f63e7052;p=poolifier.git diff --git a/docs/classes/DynamicClusterPool.html b/docs/classes/DynamicClusterPool.html index 97483c61..76962012 100644 --- a/docs/classes/DynamicClusterPool.html +++ b/docs/classes/DynamicClusterPool.html @@ -33,7 +33,7 @@ When the maximum number of workers is reached and workers are busy, an event is
Readonly
fileReadonly
maxMaximum number of workers that can be created by this pool.
Readonly
numberReadonly
optsProtected
promiseProtected
workerReadonly
workerProtected
busyWhether the pool is busy or not.
@@ -219,10 +222,10 @@ When the maximum number of workers is reached and workers are busy, an event isProtected
fullWhether the pool is full or not.
@@ -231,7 +234,7 @@ When the maximum number of workers is reached and workers are busy, an event isPrivate
numberPrivate
numberProtected
afterProtected
beforeProtected
chooseProtected
createProtected
createProtected
destroyShutdowns the given worker.
@@ -395,13 +398,35 @@ Can be overridden.Enables/disables the worker tasks queue in this pool.
+Whether to enable or disable the worker tasks queue.
+Optional
tasksQueueOptions: TasksQueueOptionsThe worker tasks queue options.
+Performs the task specified in the constructor with the data parameter.
+Executes the function specified in the constructor with the task data parameter.
Promise that will be resolved when the task is successfully completed.
Protected
internalProtected
isProtected
registerRegisters a listener callback on the given worker.
@@ -488,7 +513,7 @@ Can be overridden.Protected
sendSets the worker tasks queue options in this pool.
+The worker tasks queue options.
+Sets the worker choice strategy in this pool.
The worker choice strategy.
+Optional
workerChoiceStrategyOptions: WorkerChoiceStrategyOptionsThe worker choice strategy options.
Sets the worker choice strategy options in this pool.
+The worker choice strategy options.
+Protected
setupProtected
worker
Type of response of execution. This can only be serializable data.
+Type of execution response. This can only be serializable data.
Hierarchy
@@ -42,7 +42,7 @@ When the maximum number of workers is reached and workers are busy, an event is@@ -65,8 +65,8 @@ When the maximum number of workers is reached and workers are busy, an event is