X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FFixedClusterPool.html;h=7cb87fa3afc73f600a7b47574969cd6f8a735f81;hb=8d98e603c79d8d00b2b6a33e5f732701a7466234;hp=a206c71efbfc60a0aec7c21c6cc31ed391d65a4b;hpb=493f77bdef6d66ad2fcb72b405c805274b24f3db;p=poolifier.git diff --git a/docs/classes/FixedClusterPool.html b/docs/classes/FixedClusterPool.html index a206c71e..7cb87fa3 100644 --- a/docs/classes/FixedClusterPool.html +++ b/docs/classes/FixedClusterPool.html @@ -44,7 +44,7 @@
+'full'
: Emitted when the pool is dynamic and full.'busy'
: Emitted when the pool is busy.'error'
: Emitted when an uncaught error occurs.'taskError'
: Emitted when an error occurs while executing a task.Readonly
fileProtected
Readonly
fileReadonly
numberProtected
Readonly
numberNumber of workers that this pool should manage.
Readonly
optsProtected
Readonly
optsOptions for this fixed cluster pool.
Protected
promiseProtected
workerReadonly
workerProtected
fullWhether the pool is full or not.
The pool filling boolean status.
Private
numberNumber of tasks queued in the pool.
+Pool information.
Protected
maxNumber of tasks running in the pool.
+Pool maximum size.
Inherited from AbstractPool.numberOfRunningTasks
+Overrides AbstractPool.maxSize
Protected
minPool maximum size.
+Pool minimum size.
Overrides AbstractPool.size
+Overrides AbstractPool.minSize
Protected
typePool type.
If it is 'dynamic'
, it provides the max
property.
Overrides AbstractPool.type
Protected
workerGets the worker type.
+Overrides AbstractPool.worker
+Inherited from AbstractPool.afterTaskExecutionHook
Protected
afterOverrides AbstractPool.afterWorkerSetup
Protected
beforeInherited from AbstractPool.beforeTaskExecutionHook
Protected
chooseChooses a worker node for the next task.
-The default uses a round robin algorithm to distribute the load.
+The default worker choice strategy uses a round robin algorithm to distribute the load.
[worker node key, worker node].
+The worker node key
Inherited from AbstractPool.chooseWorkerNode
Protected
createInherited from AbstractPool.createAndSetupWorker
Protected
createOverrides AbstractPool.createWorker
Inherited from AbstractPool.destroy
Protected
destroyOverrides AbstractPool.destroyWorker
Inherited from AbstractPool.enableTasksQueue
Inherited from AbstractPool.execute
Protected
internalInherited from AbstractPool.internalBusy
Protected
isOverrides AbstractPool.isMain
Protected
registerOverrides AbstractPool.registerWorkerMessageListener
Protected
sendOverrides AbstractPool.sendToWorker
Inherited from AbstractPool.setTasksQueueOptions
The worker choice strategy.
Inherited from AbstractPool.setWorkerChoiceStrategy
Inherited from AbstractPool.setWorkerChoiceStrategyOptions
Protected
setupOverrides AbstractPool.setupHook
Protected
workerInherited from AbstractPool.workerListener
Generated using TypeDoc
Path to the worker file.