X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedThreadPool.html;h=75415733c11ac7dd30a0e691c695148dea229af0;hb=a34454964733f585af19a04f21f9e35eb18c77b1;hp=0c2313590675148ee628b14fd3b4b1c0cd22cbb7;hpb=71a64eca52278c2396cf7cb6e6c53fce3704f5ab;p=poolifier.git diff --git a/docs/classes/FixedThreadPool.html b/docs/classes/FixedThreadPool.html index 0c231359..75415733 100644 --- a/docs/classes/FixedThreadPool.html +++ b/docs/classes/FixedThreadPool.html @@ -44,7 +44,7 @@
+Readonly
fileReadonly
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.
@@ -290,40 +307,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 AbstractPool.createAndSetupWorker
Protected
createOverrides AbstractPool.createWorker
Protected
dequeueInherited from AbstractPool.dequeueTask
+Inherited from AbstractPool.destroy
Overrides AbstractPool.destroyWorker
Protected
enqueueInherited from AbstractPool.enqueueTask
+Inherited from AbstractPool.execute
Inherited from AbstractPool.findFreeWorkerKey
+Inherited from AbstractPool.findFreeWorkerNodeKey
Protected
flushInherited from AbstractPool.flushTasksQueue
+Protected
flushInherited from AbstractPool.flushTasksQueueByWorker
+Protected
internalInherited from AbstractPool.internalBusy
Protected
isOverrides AbstractPool.isMain
Overrides AbstractPool.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 AbstractPool.removeWorker
+Inherited from AbstractPool.removeWorkerNode
Protected
sendOverrides AbstractPool.sendToWorker
Inherited from AbstractPool.setWorkerChoiceStrategy
Protected
setupSetup hook that can be overridden by a Poolifier pool implementation -to run code before workers are created in the abstract constructor.
+Setup hook to run code before worker node are created in the abstract constructor. +Can be overridden
Inherited from AbstractPool.setupHook
Protected
tasksInherited from AbstractPool.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 AbstractPool.workerListener
Generated using TypeDoc
Inherit Doc