X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FFixedThreadPool.html;h=a02b125a6471ad45875d111e4d8eaf14bed4b993;hb=74f29142ea20199700ef7021402616ea9de714a8;hp=44d0c84a0df7751cb4b44bd165c38963165b6d55;hpb=4736ba628fabbf7e34e36ef0f55a96e86b7033ac;p=poolifier.git diff --git a/docs/classes/FixedThreadPool.html b/docs/classes/FixedThreadPool.html index 44d0c84a..a02b125a 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