X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FDynamicClusterPool.html;h=051f7ce50d1267c4d8f903d1404441fa329dbba0;hb=e83f3916315e18f3ca0c614d6ec9e064ab76c13c;hp=5e8ceb76f84d47a8c1fd4f1d335bec4060a9200f;hpb=248bc34b348a7d8d2b90eecff49d60a3b465da9e;p=poolifier.git diff --git a/docs/classes/DynamicClusterPool.html b/docs/classes/DynamicClusterPool.html index 5e8ceb76..051f7ce5 100644 --- a/docs/classes/DynamicClusterPool.html +++ b/docs/classes/DynamicClusterPool.html @@ -40,7 +40,7 @@ When the maximum number of workers is reached, an event is emitted. If you want
Readonly
fileReadonly
maxProtected
nextReadonly
numberReadonly
optsProtected
promiseReadonly
tasksProtected
workerReadonly
workersReadonly
workersProtected
afterHook executed after the worker task promise resolution. +Can be overridden.
+The received message.
+The Promise response.
+Protected
afterProtected
beforeProtected
chooseChoose a worker for the next task.
+Chooses a worker for the next task.
The default implementation uses a round robin algorithm to distribute the load.
Worker.
@@ -280,7 +324,7 @@ When the maximum number of workers is reached, an event is emitted. If you wantProtected
createProtected
createProtected
decreaseProtected
increaseIncrease the number of tasks that the given worker has applied.
+Initializes tasks usage statistics.
Worker whose tasks are increased.
+The worker.
Protected
internalProtected
internalProtected
isProtected
removeProtected
sendProtected
setupProtected
worker
Inherit Doc