X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FFixedThreadPool.html;h=bdaa69dea6dba275b12ef200989632f54459b47b;hb=ba92b02f642f229cb927ab526148f10107831471;hp=a5610b1077aaed4069aa78e428b9441381c65e1e;hpb=67ff85c0f9bf4f18372728327fc5373f17d9e13a;p=poolifier.git diff --git a/docs/classes/FixedThreadPool.html b/docs/classes/FixedThreadPool.html index a5610b10..bdaa69de 100644 --- a/docs/classes/FixedThreadPool.html +++ b/docs/classes/FixedThreadPool.html @@ -44,7 +44,7 @@
+Readonly
fileProtected
nextReadonly
numberReadonly
optsProtected
promiseThe promise map.
+Protected
promiseThe promise response map.
key
: This is the message Id of each submitted task.value
: An object that contains the worker, the resolve function and the reject function.key
: The message id of each submitted task.value
: An object that contains the worker, the promise resolve and reject callbacks.When we receive a message from the worker we get a map entry and resolve/reject the promise based on the message.
+When we receive a message from the worker we get a map entry with the promise resolve/reject bound to the message.
Protected
workerReadonly
workers{@inheritDoc}
Readonly
workers{@inheritDoc}
-{@inheritDoc}
Private
numberNumber of tasks concurrently running.
+Protected
afterProtected
afterHook executed after the worker task promise resolution. Can be overridden.
@@ -260,17 +251,17 @@ Can be overridden.The received message.
+The worker.
The Promise response.
+The received message.
Protected
afterProtected
beforeProtected
beforeHook executed before the worker task promise resolution. Can be overridden.
@@ -299,27 +290,27 @@ Can be overridden.The worker.
+The worker key.
Protected
chooseChooses a worker for the next task.
The default implementation uses a round robin algorithm to distribute the load.
-Worker.
+[worker key, worker].
Protected
createInherited from AbstractPool.createAndSetupWorker
Protected
createOverrides AbstractPool.createWorker
Inherited from AbstractPool.destroy
Overrides AbstractPool.destroyWorker
Inherited from AbstractPool.execute
{@inheritDoc}
-Inherited from AbstractPool.findFreeWorker
-{@inheritDoc}
Inherited from AbstractPool.getWorkerAverageTasksRunTime
-{@inheritDoc}
-Inherited from AbstractPool.getWorkerIndex
-{@inheritDoc}
-Inherited from AbstractPool.getWorkerRunningTasks
+Inherited from AbstractPool.findFreeWorkerKey
Protected
internalProtected
internalInherited from AbstractPool.internalGetBusyStatus
+Inherited from AbstractPool.internalBusy
Protected
isOverrides AbstractPool.isMain
Overrides AbstractPool.registerWorkerMessageListener
Protected
removeInherited from AbstractPool.removeWorker
Protected
sendOverrides AbstractPool.sendToWorker
{@inheritDoc}
Inherited from AbstractPool.setWorkerChoiceStrategy
Protected
setupInherited from AbstractPool.setupHook
Protected
workerInherited from AbstractPool.workerListener
Id of the next message.
-