X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FFixedClusterPool.html;h=15300e68c3ac6e51bde0f9c6a83ca2732d1da3f7;hb=4e1212db1d198963828820471bde6902277d0388;hp=1716132ec7d23928b8eb717416704e153e50eace;hpb=85bb5e488cb5adb8fef806e1f3fd9f85c525713e;p=poolifier.git diff --git a/docs/classes/FixedClusterPool.html b/docs/classes/FixedClusterPool.html index 1716132e..15300e68 100644 --- a/docs/classes/FixedClusterPool.html +++ b/docs/classes/FixedClusterPool.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@@ -762,27 +762,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
@@ -807,7 +807,7 @@ Can be overridden.
set Worker Choice Strategy Options
@@ -827,7 +827,7 @@ Can be overridden.
Protected
setup@@ -840,7 +840,7 @@ Can be overridden.
Protected
worker@@ -868,20 +868,20 @@ Can be overridden.
-
+Settings
Settings
Member Visibility
Theme
@@ -933,68 +933,30 @@ Can be overridden.- setup
Hook
- worker
Listener