X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedClusterPool.html;h=b66a5d35120498c362f7c01bc547e59f82a6cbcd;hb=90ee1b18c5477c9caccc2c4015ecfaf84c40e39d;hp=9a7ec8cb3244fac5aec2ec0a9b7a0fe03cb69ba1;hpb=248bc34b348a7d8d2b90eecff49d60a3b465da9e;p=poolifier.git diff --git a/docs/classes/FixedClusterPool.html b/docs/classes/FixedClusterPool.html index 9a7ec8cb..b66a5d35 100644 --- a/docs/classes/FixedClusterPool.html +++ b/docs/classes/FixedClusterPool.html @@ -42,7 +42,7 @@
+Path to an implementation of a ClusterWorker
file, which can be relative or absolute.
Optional
opts: ClusterPoolOptions = {}Options for this fixed cluster pool.
Readonly
fileOptional
Readonly
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.
@@ -278,7 +322,7 @@Protected
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
removeWorker that will be removed.
+The worker that will be removed.
Protected
sendProtected
setupProtected
worker
Constructs a new poolifier fixed cluster pool.