X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedClusterPool.html;h=b6a1b7225c0567f9c6034f3b8f4fd41ad52511f7;hb=a746be5b3f476db0d65dedbe147e690f432e9e03;hp=6c8b461351fe597007ae467395a85e0ea1502703;hpb=fe9f25b5ac98c7c7fccd1849a200c5054a77cf03;p=poolifier.git diff --git a/docs/classes/FixedClusterPool.html b/docs/classes/FixedClusterPool.html index 6c8b4613..b6a1b722 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.