X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FDynamicThreadPool.html;h=75da6d76187e524ab93943581bb7d79a573e2b97;hb=7cd8af0033b35def46016a78ea9be1ee516480bf;hp=66f365d333157ae357b5d5c65831a7272cd20251;hpb=ba92b02f642f229cb927ab526148f10107831471;p=poolifier.git diff --git a/docs/classes/DynamicThreadPool.html b/docs/classes/DynamicThreadPool.html index 66f365d3..75da6d76 100644 --- a/docs/classes/DynamicThreadPool.html +++ b/docs/classes/DynamicThreadPool.html @@ -42,7 +42,7 @@ When the maximum number of threads is reached and workers are busy, an event is
Optional
Readonly
emitterReadonly
fileInherited from FixedThreadPool.filePath
Private
Readonly
maxReadonly
maxMaximum number of threads that can be created by this pool.
Readonly
numberInherited from FixedThreadPool.numberOfWorkers
Readonly
optsInherited from FixedThreadPool.opts
Protected
promiseInherited from FixedThreadPool.promiseResponseMap
Protected
workerWorker choice strategy instance implementing the worker choice algorithm.
-Default to a strategy implementing a round robin algorithm.
+Worker choice strategy context referencing a worker choice algorithm implementation.
+Default to a round robin algorithm.
Inherited from FixedThreadPool.workerChoiceStrategyContext
Readonly
workers{@inheritDoc}
-Inherited from FixedThreadPool.workers
{@inheritDoc}
-Overrides FixedThreadPool.busy
{@inheritDoc}
-Overrides FixedThreadPool.full
Private
numberNumber of tasks concurrently running.
+Number of tasks concurrently running in the pool.
Inherited from FixedThreadPool.numberOfRunningTasks
{@inheritDoc}
-Overrides FixedThreadPool.type
Inherited from FixedThreadPool.afterPromiseResponseHook
Protected
after{@inheritDoc}
-Inherited from FixedThreadPool.afterWorkerSetup
Protected
beforeInherited from FixedThreadPool.beforePromiseResponseHook
Protected
chooseChooses a worker for the next task.
-The default implementation uses a round robin algorithm to distribute the load.
+The default uses a round robin algorithm to distribute the load.
[worker key, worker].
Inherited from FixedThreadPool.chooseWorker
Protected
createInherited from FixedThreadPool.createAndSetupWorker
Protected
create{@inheritDoc}
-Inherited from FixedThreadPool.createWorker
{@inheritDoc}
-Inherited from FixedThreadPool.destroy
{@inheritDoc}
-Inherited from FixedThreadPool.destroyWorker
{@inheritDoc}
-Inherited from FixedThreadPool.execute
{@inheritDoc}
-Inherited from FixedThreadPool.findFreeWorkerKey
Protected
internalInherited from FixedThreadPool.internalBusy
Protected
is{@inheritDoc}
-Inherited from FixedThreadPool.isMain
{@inheritDoc}
-Inherited from FixedThreadPool.registerWorkerMessageListener
Protected
removeInherited from FixedThreadPool.removeWorker
Protected
send{@inheritDoc}
-Inherited from FixedThreadPool.sendToWorker
{@inheritDoc}
-Inherited from FixedThreadPool.setWorkerChoiceStrategy
Protected
setupSetup hook that can be overridden by a Poolifier pool implementation -to run code before workers are created in the abstract constructor.
+to run code before workers are created in the abstract constructor. +Can be overriddenInherited from FixedThreadPool.setupHook
Protected
workerInherited from FixedThreadPool.workerListener
{@inheritDoc}
-