X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedThreadPool.html;h=e1e40fe844479b948bc6d6a374669be7a7913916;hb=6c285176ad7e73f183942ebc427d144a76d96057;hp=5ebaf53b260b39d07f1ff09f53059eea83b99802;hpb=48c6ba05d56af984567ff531fde69cb6d9f9a0fb;p=poolifier.git diff --git a/docs/classes/FixedThreadPool.html b/docs/classes/FixedThreadPool.html index 5ebaf53b..e1e40fe8 100644 --- a/docs/classes/FixedThreadPool.html +++ b/docs/classes/FixedThreadPool.html @@ -1,4 +1,4 @@ -
Optional
emitterGenerated using TypeDoc
Event 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:
@@ -173,7 +174,7 @@ The async tracking tooling identifier ispoolifier:<PoolType>-<Wo +Defined in src/pools/abstract-pool.ts:74
Path
file Path: string
@@ -182,7 +183,7 @@ The async tracking tooling identifier is
+Defined in src/pools/abstract-pool.ts:129
max?: number
@@ -191,7 +192,7 @@ The async tracking tooling identifier is
+Defined in src/pools/abstract-pool.ts:79
Of Workers
number Of Workers: number
@@ -200,7 +201,7 @@ The async tracking tooling identifier is
+Defined in src/pools/abstract-pool.ts:128
opts: ThreadPoolOptions = {}
@@ -209,7 +210,7 @@ The async tracking tooling identifier is
+Defined in src/pools/thread/fixed.ts:49
Response Map
promise Response Map: Map<string, PromiseResponseWrapper<Response>> = ...
@@ -223,7 +224,7 @@ The async tracking tooling identifier is
+Defined in src/pools/abstract-pool.ts:88
Choice Strategy Context
worker Choice Strategy Context: WorkerChoiceStrategyContext<Worker, Data, Response>
@@ -232,7 +233,7 @@ The async tracking tooling identifier is
+Defined in src/pools/abstract-pool.ts:94
Nodes
worker Nodes: IWorkerNode<Worker, Data>[] = []
@@ -241,7 +242,7 @@ The async tracking tooling identifier is
+Defined in src/pools/abstract-pool.ts:71
@@ -256,7 +257,7 @@ The async tracking tooling identifier is
+Defined in src/pools/thread/fixed.ts:155
+Defined in src/pools/abstract-pool.ts:662
+Defined in src/pools/abstract-pool.ts:272
Size
+Defined in src/pools/abstract-pool.ts:485
Size
+Defined in src/pools/abstract-pool.ts:478
+Defined in src/pools/abstract-pool.ts:430
+Defined in src/pools/thread/fixed.ts:145
+Defined in src/pools/abstract-pool.ts:447
+Defined in src/pools/thread/fixed.ts:150
@@ -388,7 +389,7 @@ If a task function with the same name already exists, it will be overwritten.
+Defined in src/pools/abstract-pool.ts:807
Task Execution Hook
+Defined in src/pools/abstract-pool.ts:1044
Worker Node Setup
+Defined in src/pools/abstract-pool.ts:1357
Task Execution Hook
+Defined in src/pools/abstract-pool.ts:1014
And Setup Dynamic Worker Node
+Defined in src/pools/abstract-pool.ts:1261
And Setup Worker Node
+Defined in src/pools/abstract-pool.ts:1217
Worker
+Defined in src/pools/thread/fixed.ts:137
Worker Message Listener
+Defined in src/pools/thread/fixed.ts:127
+Defined in src/pools/abstract-pool.ts:951
Worker Node
+Defined in src/pools/thread/fixed.ts:60
+Defined in src/pools/abstract-pool.ts:566
+Defined in src/pools/abstract-pool.ts:881
+
+
Tasks Queue
+Defined in src/pools/abstract-pool.ts:1693
Worker Info
+Defined in src/pools/abstract-pool.ts:1605
+Defined in src/pools/abstract-pool.ts:794
+Defined in src/pools/abstract-pool.ts:1651
Busy
+Defined in src/pools/abstract-pool.ts:678
Main
+Defined in src/pools/thread/fixed.ts:55
+Defined in src/pools/abstract-pool.ts:846
Once Worker Message Listener
+Defined in src/pools/thread/fixed.ts:117
Worker Message Listener
+Defined in src/pools/thread/fixed.ts:107
+Defined in src/pools/abstract-pool.ts:830
Kill Message To Worker
+Defined in src/pools/abstract-pool.ts:962
Startup Message To Worker
+Defined in src/pools/thread/fixed.ts:92
To Worker
+Defined in src/pools/thread/fixed.ts:78
+Defined in src/pools/abstract-pool.ts:859
+Defined in src/pools/abstract-pool.ts:580
+Defined in src/pools/abstract-pool.ts:533
+Defined in src/pools/abstract-pool.ts:552
Hook
+Defined in src/pools/abstract-pool.ts:998
-
-Defined in src/pools/abstract-pool.ts:935
+
+ Message Listener
Protected
Readonly
filepoolifier:<PoolType>-<Wo
Protected
Optional
Readonly
maxpoolifier:<PoolType>-<Wo
Protected
Readonly
numberpoolifier:<PoolType>-<Wo
Protected
Readonly
optspoolifier:<PoolType>-<Wo
Protected
promisepoolifier:<PoolType>-<Wo
Protected
workerpoolifier:<PoolType>-<Wo
Readonly
Internal
workerpoolifier:<PoolType>-<Wo
Accessors
poolifier:<PoolType>-<Wo
Protected
full@@ -269,7 +270,7 @@ The async tracking tooling identifier is
poolifier:<PoolType>-<Wo
info
@@ -281,7 +282,7 @@ The async tracking tooling identifier is
poolifier:<PoolType>-<Wo
Protected
max@@ -293,7 +294,7 @@ The async tracking tooling identifier is
poolifier:<PoolType>-<Wo
Protected
min@@ -305,7 +306,7 @@ The async tracking tooling identifier is
poolifier:<PoolType>-<Wo
Private
ready@@ -317,7 +318,7 @@ The async tracking tooling identifier is
poolifier:<PoolType>-<Wo
Protected
type@@ -330,7 +331,7 @@ The async tracking tooling identifier is
poolifier:<PoolType>-<Wo
Private
utilization@@ -343,7 +344,7 @@ The async tracking tooling identifier is
poolifier:<PoolType>-<Wo
Protected
worker@@ -355,7 +356,7 @@ The async tracking tooling identifier is
poolifier:<PoolType>-<Wo
Methods
Protected
after@@ -414,7 +415,7 @@ Can be overridden.
Protected
after@@ -435,7 +436,7 @@ Can be overridden.
Protected
before@@ -461,7 +462,7 @@ Can be overridden.
Protected
create@@ -474,7 +475,7 @@ Can be overridden.
Protected
create@@ -487,7 +488,7 @@ Can be overridden.
Protected
create@@ -500,7 +501,7 @@ Can be overridden.
Protected
deregister@@ -541,7 +542,7 @@ Can be overridden.
destroy
@@ -553,7 +554,7 @@ Can be overridden.
Protected
destroy@@ -573,7 +574,7 @@ Can be overridden.
enable Tasks Queue
@@ -598,7 +599,7 @@ Can be overridden.
execute
@@ -629,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@@ -643,7 +658,7 @@ Can be overridden.
Returns void
Protected
get@@ -664,7 +679,7 @@ Can be overridden.
has Task Function
@@ -685,7 +700,7 @@ Can be overridden.
has Worker Node Back Pressure
@@ -706,7 +721,7 @@ Can be overridden.
Protected
internal@@ -719,7 +734,7 @@ Can be overridden.
Protected
is@@ -731,7 +746,7 @@ Can be overridden.
list Task Function Names
@@ -744,7 +759,7 @@ Can be overridden.
Protected
register@@ -785,7 +800,7 @@ Can be overridden.
Protected
register@@ -826,7 +841,7 @@ Can be overridden.
remove Task Function
@@ -847,7 +862,7 @@ Can be overridden.
Protected
send@@ -861,7 +876,7 @@ Can be overridden.
Returns Promise<void>
Protected
send@@ -881,7 +896,7 @@ Can be overridden.
Protected
send@@ -911,7 +926,7 @@ Can be overridden.
set Default Task Function
@@ -932,7 +947,7 @@ Can be overridden.
set Tasks Queue Options
@@ -952,7 +967,7 @@ Can be overridden.
set Worker Choice Strategy
@@ -977,7 +992,7 @@ Can be overridden.
set Worker Choice Strategy Options
@@ -997,7 +1012,7 @@ Can be overridden.
Protected
setup@@ -1010,7 +1025,7 @@ Can be overridden.
start
@@ -1022,35 +1037,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:1519
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