X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FFixedClusterPool.html;h=f9dfcb3931ff6e9456eb709d474b12fb2b9b622d;hb=b2ec8632edaea1f4ee24a532e61ca6e5619b7bfb;hp=957d79e8285161912086b91166016624fcbbf295;hpb=c11be5eddc7229e4b77105ed27e93697b65d0146;p=poolifier.git diff --git a/docs/classes/FixedClusterPool.html b/docs/classes/FixedClusterPool.html index 957d79e8..f9dfcb39 100644 --- a/docs/classes/FixedClusterPool.html +++ b/docs/classes/FixedClusterPool.html @@ -1,4 +1,4 @@ -
Optional
Readonly
emitterGenerated using TypeDoc
Emitter on which events can be listened to.
+
+Optional
emitterEvent emitter integrated with async resource on which events can be listened to. +The async tracking tooling identifier is
poolifier:<PoolType>-<WorkerType>-pool
.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.Protected
Readonly
fileProtected
Optional
Readonly
maxProtected
Readonly
numberProtected
Readonly
optsProtected
promiseProtected
workerReadonly
Internal
workerAccessors
Protected
full@@ -268,7 +270,7 @@
info
@@ -280,7 +282,7 @@
Protected
max@@ -292,7 +294,7 @@
Protected
min@@ -304,7 +306,7 @@
Private
ready@@ -316,7 +318,7 @@
Protected
type@@ -329,7 +331,7 @@
Private
utilization@@ -342,7 +344,7 @@
Protected
worker@@ -354,7 +356,7 @@
Methods
Protected
after@@ -413,7 +415,7 @@ Can be overridden.
Protected
after@@ -434,7 +436,7 @@ Can be overridden.
Protected
before@@ -460,7 +462,7 @@ Can be overridden.
Protected
create@@ -473,7 +475,7 @@ Can be overridden.
Protected
create@@ -486,7 +488,7 @@ Can be overridden.
Protected
create@@ -499,7 +501,7 @@ Can be overridden.
Protected
deregister@@ -540,7 +542,7 @@ Can be overridden.
destroy
@@ -552,7 +554,7 @@ Can be overridden.
Protected
destroy@@ -572,7 +574,7 @@ Can be overridden.
enable Tasks Queue
@@ -597,7 +599,7 @@ Can be overridden.
execute
@@ -628,7 +630,21 @@ Can be overridden.
Worker Node As Not Ready
+Protected
flag+- flag
Worker Node As Not Ready(workerNodeKey): void
+-
+
+
+
Parameters
++-
+
workerNodeKey: number
Returns void
Protected
flush@@ -642,7 +658,7 @@ Can be overridden.
Returns void
Protected
get@@ -663,7 +679,7 @@ Can be overridden.
has Task Function
@@ -684,7 +700,7 @@ Can be overridden.
has Worker Node Back Pressure
@@ -705,7 +721,7 @@ Can be overridden.
Protected
internal@@ -718,7 +734,7 @@ Can be overridden.
Protected
is@@ -730,7 +746,7 @@ Can be overridden.
list Task Function Names
@@ -743,7 +759,7 @@ Can be overridden.
Protected
register@@ -784,7 +800,7 @@ Can be overridden.
Protected
register@@ -825,7 +841,7 @@ Can be overridden.
remove Task Function
@@ -846,7 +862,7 @@ Can be overridden.
Protected
send@@ -860,7 +876,7 @@ Can be overridden.
Returns Promise<void>
Protected
send@@ -880,7 +896,7 @@ Can be overridden.
Protected
send@@ -905,7 +921,7 @@ Can be overridden.
set Default Task Function
@@ -926,7 +942,7 @@ Can be overridden.
set Tasks Queue Options
@@ -946,7 +962,7 @@ Can be overridden.
set Worker Choice Strategy
@@ -971,7 +987,7 @@ Can be overridden.
set Worker Choice Strategy Options
@@ -991,7 +1007,7 @@ Can be overridden.
Protected
setup@@ -1004,7 +1020,7 @@ Can be overridden.
start
@@ -1016,35 +1032,24 @@ Can be overridden.
Listener
+Protected
workerProtected
worker-- worker
Listener(): ((message) => void)
+- worker
Message Listener(message): void
-
-
-
This method is the listener registered for each worker message.
-Returns ((message) => void)
The listener function to execute when a message is received from a worker.
- ---
-
-- (message): void
--
-
-
-
+ - Defined in src/pools/abstract-pool.ts:1518
This method is the listener registered for each worker message.
+This method is the message listener registered on each worker.
Parameters
message: MessageValue<Response, unknown>
Returns void
The listener function to execute when a message is received from a worker.
- - +Returns void
Member Visibility
Theme
@@ -1094,6 +1099,7 @@ Can be overridden.destroy Worker Node
enable Tasks Queue
execute
+flag Worker Node As Not Ready
flush Tasks Queue
get Worker Info
has Task Function
@@ -1113,9 +1119,9 @@ Can be overridden.
set Worker Choice Strategy Options
setup Hook
start
-worker Listener