X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FDynamicClusterPool.html;h=f6c8e28904ec40bcc83cea1f4b18c802ba2ebd2a;hb=a34454964733f585af19a04f21f9e35eb18c77b1;hp=e2e7da263b2e264ccf64dbf2fd63d77edcfb8cb1;hpb=4736ba628fabbf7e34e36ef0f55a96e86b7033ac;p=poolifier.git diff --git a/docs/classes/DynamicClusterPool.html b/docs/classes/DynamicClusterPool.html index e2e7da26..f6c8e289 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
Readonly
filePrivate
Readonly
maxReadonly
maxReadonly
numberReadonly
optsProtected
promiseProtected
workerReadonly
workersReadonly
workerPrivate
numberNumber of tasks queued in the pool.
+Private
numberNumber of tasks concurrently running in the pool.
+Number of tasks running in the pool.
Protected
afterProtected
beforeHook executed before the worker task promise resolution. Can be overridden.
@@ -300,40 +317,40 @@ Can be overridden.The worker key.
+The worker node key.
Protected
chooseProtected
chooseChooses a worker for the next task.
+Chooses a worker node for the next task.
The default uses a round robin algorithm to distribute the load.
-[worker key, worker].
+[worker node key, worker node].
Protected
createCreates a new worker for this pool and sets it up completely.
+Creates a new worker and sets it up completely in the pool worker nodes.
New, completely set up worker.
Inherited from FixedClusterPool.createAndSetupWorker
Protected
createInherited from FixedClusterPool.createWorker
Protected
dequeueInherited from FixedClusterPool.dequeueTask
+Inherited from FixedClusterPool.destroy
Inherited from FixedClusterPool.destroyWorker
Protected
enqueueInherited from FixedClusterPool.enqueueTask
+Inherited from FixedClusterPool.execute
Inherited from FixedClusterPool.findFreeWorkerKey
+Inherited from FixedClusterPool.findFreeWorkerNodeKey
Protected
flushInherited from FixedClusterPool.flushTasksQueue
+Protected
flushInherited from FixedClusterPool.flushTasksQueueByWorker
+Protected
internalInherited from FixedClusterPool.internalBusy
Protected
isInherited from FixedClusterPool.isMain
Inherited from FixedClusterPool.registerWorkerMessageListener
Protected
removeProtected
removeRemoves the given worker from the pool.
+Removes the given worker from the pool worker nodes.
The worker that will be removed.
+The worker.
Inherited from FixedClusterPool.removeWorker
+Inherited from FixedClusterPool.removeWorkerNode
Protected
sendInherited from FixedClusterPool.sendToWorker
Inherited from FixedClusterPool.setWorkerChoiceStrategy
Protected
setupInherited from FixedClusterPool.setupHook
Protected
tasksInherited from FixedClusterPool.tasksQueueLength
+Protected
workerThis function is the listener registered for each worker.
+This function is the listener registered for each worker message.
The listener function to execute when a message is received from a worker.
This function is the listener registered for each worker.
+This function is the listener registered for each worker message.
The listener function to execute when a message is received from a worker.
Inherited from FixedClusterPool.workerListener
Generated using TypeDoc
Maximum number of workers that can be created by this pool.