X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedThreadPool.html;h=5384f9a72a45fa9b228a6e29c183d67ff45b1d3b;hb=019581cc38fe0b47645d9b2120f325ab37388be2;hp=131b63d5c406f1da8d3b3a69a7c30a0db8126710;hpb=c65efde664ab9e4dcd2ed9e827d8171e7e081359;p=poolifier.git diff --git a/docs/classes/FixedThreadPool.html b/docs/classes/FixedThreadPool.html index 131b63d5..5384f9a7 100644 --- a/docs/classes/FixedThreadPool.html +++ b/docs/classes/FixedThreadPool.html @@ -1,4 +1,4 @@ -
Emitter on which events can be listened to.
Events that can currently be listened to:
-
+
+- '
@@ -160,7 +163,7 @@ +'full'
: Emitted when the pool is dynamic and the number of workers created has reached the maximum size expected.'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.'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.'error'
: Emitted when an uncaught error occurs.'taskError'
: Emitted when an error occurs while executing a task.Protected
Readonly
fileProtected
Readonly
numberProtected
Readonly
optsProtected
promiseProtected
workerReadonly
workerAccessors
Protected
full@@ -247,7 +250,7 @@
info
@@ -259,7 +262,7 @@
Protected
max@@ -271,7 +274,7 @@
Protected
min@@ -283,7 +286,7 @@
Private
ready@@ -295,7 +298,7 @@
Protected
type@@ -308,7 +311,7 @@
Private
utilization@@ -321,7 +324,7 @@
Protected
worker@@ -333,7 +336,7 @@
Methods
Protected
after@@ -382,7 +385,7 @@ Can be overridden.
Protected
before@@ -408,7 +411,7 @@ Can be overridden.
Protected
check@@ -424,7 +427,7 @@ Can be overridden.
Returns void
Protected
create@@ -437,7 +440,7 @@ Can be overridden.
Protected
create@@ -450,7 +453,7 @@ Can be overridden.
Protected
create@@ -463,7 +466,7 @@ Can be overridden.
destroy
@@ -475,7 +478,7 @@ Can be overridden.
Protected
destroy@@ -495,7 +498,7 @@ Can be overridden.
enable Tasks Queue
@@ -520,7 +523,7 @@ Can be overridden.
execute
@@ -551,7 +554,7 @@ Can be overridden.
Protected
flush@@ -565,7 +568,7 @@ Can be overridden.
Returns void
Protected
get@@ -586,7 +589,7 @@ Can be overridden.
Protected
internal@@ -599,7 +602,7 @@ Can be overridden.
Protected
is@@ -611,7 +614,20 @@ Can be overridden.
list Task Functions
++- list
Task Functions(): string[]
+-
+
+
Lists the names of task function available in this pool.
+Returns string[]
The names of task function available in this pool.
+ +Protected
register@@ -652,7 +668,23 @@ Can be overridden.
Kill Message To Worker
+Protected
send+- send
Kill Message To Worker(workerNodeKey, workerId): Promise<void>
+-
+
+
+
Parameters
++-
+
+-
+
workerNodeKey: number
workerId: number
Returns Promise<void>
Protected
send@@ -672,7 +704,7 @@ Can be overridden.
Protected
send@@ -702,7 +734,7 @@ Can be overridden.
set Tasks Queue Options
@@ -722,7 +754,7 @@ Can be overridden.
set Worker Choice Strategy
@@ -747,7 +779,7 @@ Can be overridden.
set Worker Choice Strategy Options
@@ -767,7 +799,7 @@ Can be overridden.
Protected
setup@@ -780,7 +812,7 @@ Can be overridden.
Protected
worker@@ -808,7 +840,7 @@ Can be overridden.