X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FFixedClusterPool.html;h=4539e308dfad3379ed2044421c09cdf899f85bb3;hb=310ec53bbcd0289d0d0f7d254f7d8fc38db05ad9;hp=4d368148e5a6212933aff0a193c51e08be7bd574;hpb=cfc6e8df4c903b63514c46cb67b3f5e24079d3ce;p=poolifier.git diff --git a/docs/classes/FixedClusterPool.html b/docs/classes/FixedClusterPool.html index 4d368148..4539e308 100644 --- a/docs/classes/FixedClusterPool.html +++ b/docs/classes/FixedClusterPool.html @@ -44,7 +44,7 @@
+Options for this fixed cluster pool.
Readonly
fileProtected
nextId of the next message.
-Readonly
numberReadonly
optsOptions for this fixed cluster pool.
Protected
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}
-Protected
afterProtected
afterHook executed after the worker task promise resolution. Can be overridden.
@@ -260,17 +239,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 +278,27 @@ Can be overridden.The worker.
+The worker key.
Protected
chooseProtected
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
internalInherited from AbstractPool.internalGetBusyStatus
Protected
isOverrides AbstractPool.isMain
Overrides AbstractPool.registerWorkerMessageListener
Protected
removeInherited from AbstractPool.removeWorker
Protected
sendOverrides AbstractPool.sendToWorker
{@inheritDoc}
Inherited from AbstractPool.setWorkerChoiceStrategy
Protected
setupOverrides AbstractPool.setupHook
Protected
workerInherited from AbstractPool.workerListener
Path to an implementation of a
ClusterWorker
file, which can be relative or absolute.