X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FFixedThreadPool.html;h=f2be816aa26c6b07d2bd10a30f95af68045c57b6;hb=4e1212db1d198963828820471bde6902277d0388;hp=f2bd8f7c02c44eeb3d3b2001c782a4b32c53e750;hpb=936fa0fb8e70b2c297938cc9455444486b6daa3e;p=poolifier.git diff --git a/docs/classes/FixedThreadPool.html b/docs/classes/FixedThreadPool.html index f2bd8f7c..f2be816a 100644 --- a/docs/classes/FixedThreadPool.html +++ b/docs/classes/FixedThreadPool.html @@ -1,13 +1,13 @@ -
Events that can currently be listened to:
'ready'
: Emitted when the number of workers created in the pool has reached the minimum size expected and are ready.'busy'
: Emitted when the number of workers created in the pool has reached the maximum size expected and are executing at least one task.'busy'
: Emitted when the number of workers created in the pool has reached the maximum size expected and are executing concurrently their tasks quota.'full'
: Emitted when the pool is dynamic and the number of workers created has reached the maximum size expected.destroy
': Emitted when the pool is destroyed.'destroy'
: Emitted when the pool is destroyed.'error'
: Emitted when an uncaught error occurs.'taskError'
: Emitted when an error occurs while executing a task.'backPressure'
: Emitted when all worker nodes have back pressure (i.e. their tasks queue is full: queue size >= pool maximum size^2).'backPressure'
: Emitted when all worker nodes have back pressure (i.e. their tasks queue is full: queue size >= maximum queue size).Protected
Readonly
fileProtected
Optional
Readonly
maxProtected
Readonly
numberProtected
Readonly
optsProtected
promiseProtected
workerReadonly
Internal
workerProtected
fullProtected
maxProtected
minPrivate
readyProtected
typePrivate
utilizationProtected
workerProtected
afterProtected
beforeProtected
checkProtected
createProtected
createProtected
createProtected
destroyGenerated using TypeDoc
Generated using TypeDoc
Enables/disables the worker tasks queue in this pool.
+Enables/disables the worker node tasks queue in this pool.
Parameters
enable: boolean
-Whether to enable or disable the worker tasks queue.
+Whether to enable or disable the worker node tasks queue.
-Optional
tasksQueueOptions: TasksQueueOptionsThe worker tasks queue options.
+The worker node tasks queue options.
Returns void
execute
@@ -566,7 +566,7 @@ Can be overridden.
Protected
flush@@ -580,7 +580,7 @@ Can be overridden.
Returns void
Protected
get@@ -601,7 +601,7 @@ Can be overridden.
has Worker Node Back Pressure
@@ -622,7 +622,7 @@ Can be overridden.
Protected
internal@@ -635,7 +635,7 @@ Can be overridden.
Protected
is@@ -647,7 +647,7 @@ Can be overridden.
list Task Functions
@@ -660,7 +660,7 @@ Can be overridden.
Protected
register@@ -701,7 +701,7 @@ Can be overridden.
Protected
send@@ -717,7 +717,7 @@ Can be overridden.
Returns Promise<void>
Protected
send@@ -737,7 +737,7 @@ Can be overridden.
Protected
send@@ -767,27 +767,27 @@ Can be overridden.
set Tasks Queue Options
Sets the worker tasks queue options in this pool.
+Sets the worker node tasks queue options in this pool.
Parameters
tasksQueueOptions: TasksQueueOptions
-The worker tasks queue options.
+The worker node tasks queue options.
Returns void
set Worker Choice Strategy
@@ -812,7 +812,7 @@ Can be overridden.
set Worker Choice Strategy Options
@@ -832,7 +832,7 @@ Can be overridden.
Protected
setup@@ -845,7 +845,7 @@ Can be overridden.
Protected
worker@@ -873,20 +873,20 @@ Can be overridden.
-
+Settings
Settings
Member Visibility
Theme
@@ -938,68 +938,30 @@ Can be overridden.- setup
Hook
- worker
Listener