X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedThreadPool.html;h=6f287a30d4aaec6a76748b6d76e1305cb1582d36;hb=f7d06005106fbf8e845731e6652dd676b765f60e;hp=78e825c44327003b47d8421c89b215ef0113ce70;hpb=1d9f69fa27366fd18f2600beeee89187306df22a;p=poolifier.git diff --git a/docs/classes/FixedThreadPool.html b/docs/classes/FixedThreadPool.html index 78e825c4..6f287a30 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.