X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Fclasses%2FAbstractPool.html;h=57b75a1a6da1adfb6f25fa46a5518a8e1ce7ed62;hb=b656440d69d06f603b8bc4c23ca4dfe489cbef74;hp=57019215eab51531af8a99c7d0f472ca09bc6c9b;hpb=25926072f5397949802f6af5a2f7d49d6f15cacc;p=poolifier.git
diff --git a/docs/classes/AbstractPool.html b/docs/classes/AbstractPool.html
index 57019215..57b75a1a 100644
--- a/docs/classes/AbstractPool.html
+++ b/docs/classes/AbstractPool.html
@@ -1,4 +1,4 @@
-
AbstractPool | poolifier - v2.7.4
+AbstractPool | poolifier - v3.0.0
@@ -49,7 +49,7 @@
IPool < Worker , Data , Response >
+
Defined in src/pools/abstract-pool.ts:64
Constructors
@@ -202,12 +202,12 @@
Returns AbstractPool < Worker , Data , Response >
+Defined in src/pools/abstract-pool.ts:126
Properties
Optional
emitter
-emitter ?: __module | EventEmitterAsyncResource
+emitter ?: EventEmitterAsyncResource
+Defined in src/pools/abstract-pool.ts:128
Protected
Optional
Readonly
max
max ?: number
@@ -240,7 +240,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
+Defined in src/pools/abstract-pool.ts:78
Protected
Readonly
number Of Workers
number Of Workers : number
@@ -248,7 +248,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
+Defined in src/pools/abstract-pool.ts:127
Protected
Readonly
opts
@@ -256,7 +256,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
+Defined in src/pools/abstract-pool.ts:129
Protected
promise Response Map
@@ -269,7 +269,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
+Defined in src/pools/abstract-pool.ts:87
Private
Readonly
start Timestamp
start Timestamp : number
@@ -277,7 +277,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
+Defined in src/pools/abstract-pool.ts:117
Private
started
started : boolean
@@ -285,7 +285,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
+Defined in src/pools/abstract-pool.ts:109
Private
starting
starting : boolean
@@ -293,7 +293,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
+Defined in src/pools/abstract-pool.ts:113
Private
Readonly
task Functions
@@ -305,7 +305,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
+Defined in src/pools/abstract-pool.ts:104
Protected
worker Choice Strategy Context
@@ -313,7 +313,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
+Defined in src/pools/abstract-pool.ts:93
Readonly
Internal
worker Nodes
@@ -322,7 +322,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
+Defined in src/pools/abstract-pool.ts:70
Accessors
@@ -336,7 +336,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
Returns boolean
+Defined in src/pools/abstract-pool.ts:660
Protected
full
@@ -348,7 +348,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
Returns boolean
+Defined in src/pools/abstract-pool.ts:651
info
@@ -360,7 +360,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
+Defined in src/pools/abstract-pool.ts:271
Protected
max Size
@@ -371,7 +371,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
Returns number
+Defined in src/pools/abstract-pool.ts:484
Protected
min Size
@@ -382,7 +382,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
Returns number
+Defined in src/pools/abstract-pool.ts:477
Private
ready
@@ -393,7 +393,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
Returns boolean
+Defined in src/pools/abstract-pool.ts:429
Protected
Abstract
type
@@ -405,7 +405,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
Returns "fixed" | "dynamic"
+Defined in src/pools/abstract-pool.ts:467
Private
utilization
@@ -417,7 +417,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
+Defined in src/pools/abstract-pool.ts:446
Protected
Abstract
worker
@@ -428,7 +428,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
Returns "thread" | "cluster"
+Defined in src/pools/abstract-pool.ts:472
+Defined in src/pools/abstract-pool.ts:1593
Protected
after Task Execution Hook
@@ -508,7 +508,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1033
Protected
after Worker Node Setup
@@ -528,7 +528,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1344
Protected
before Task Execution Hook
@@ -553,7 +553,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1003
Private
build Tasks Queue Options
@@ -566,7 +566,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:600
Private
check And Emit Dynamic Worker Creation Events
@@ -574,7 +574,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1568
Private
check And Emit Task Execution Events
@@ -582,7 +582,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1556
Private
check And Emit Task Queuing Events
@@ -590,7 +590,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1562
Private
check Message Worker Id
+Defined in src/pools/abstract-pool.ts:494
Private
check Number Of Workers
@@ -624,7 +624,7 @@ Can be overridden.
numberOfWorkers : number
Returns void
+Defined in src/pools/abstract-pool.ts:170
Private
check Pool Options
@@ -637,7 +637,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:188
Private
check Valid Worker Choice Strategy Options
@@ -650,7 +650,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:217
Private
choose Worker Node
@@ -663,7 +663,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:1160
Protected
create And Setup Dynamic Worker Node
@@ -675,7 +675,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:1250
Protected
create And Setup Worker Node
@@ -687,7 +687,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:1206
Protected
Abstract
create Worker
@@ -699,7 +699,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:1199
Private
delete Task Function Worker Usages
@@ -712,7 +712,7 @@ Can be overridden.
name : string
Returns void
+Defined in src/pools/abstract-pool.ts:855
Private
dequeue Task
@@ -725,7 +725,7 @@ Can be overridden.
workerNodeKey : number
Returns undefined | Task < Data >
+Defined in src/pools/abstract-pool.ts:1658
Protected
Abstract
deregister Worker Message Listener
@@ -765,7 +765,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1331
+Defined in src/pools/abstract-pool.ts:940
Protected
Abstract
destroy Worker Node
@@ -796,7 +796,7 @@ Can be overridden.
Returns Promise < void >
+Defined in src/pools/abstract-pool.ts:979
+Defined in src/pools/abstract-pool.ts:565
Private
enqueue Task
@@ -836,7 +836,7 @@ Can be overridden.
task : Task < Data >
Returns number
+Defined in src/pools/abstract-pool.ts:1652
+Defined in src/pools/abstract-pool.ts:870
Private
execute Task
@@ -891,7 +891,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1646
Protected
flush Tasks Queue
@@ -904,7 +904,7 @@ Can be overridden.
workerNodeKey : number
Returns void
+Defined in src/pools/abstract-pool.ts:1666
Private
flush Tasks Queues
@@ -912,7 +912,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1676
Protected
get Worker Info
@@ -932,7 +932,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:1582
Private
get Worker Node Key By Worker
@@ -952,7 +952,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:513
Private
get Worker Node Key By Worker Id
@@ -972,7 +972,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:525
Private
handle Task Execution Response
@@ -985,7 +985,7 @@ Can be overridden.
message : MessageValue < Response , unknown >
Returns void
+Defined in src/pools/abstract-pool.ts:1528
Private
handle Worker Ready Response
@@ -998,7 +998,7 @@ Can be overridden.
message : MessageValue < Response , unknown >
Returns void
+Defined in src/pools/abstract-pool.ts:1512
Private
has Back Pressure
@@ -1006,7 +1006,7 @@ Can be overridden.
Returns boolean
+Defined in src/pools/abstract-pool.ts:1631
+Defined in src/pools/abstract-pool.ts:783
has Worker Node Back Pressure
+Defined in src/pools/abstract-pool.ts:1624
Private
initialize Event Emitter
@@ -1056,7 +1056,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:264
Protected
internal Busy
@@ -1068,7 +1068,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:667
Protected
Abstract
is Main
@@ -1079,7 +1079,7 @@ Can be overridden.
Returns boolean
+Defined in src/pools/abstract-pool.ts:994
+Defined in src/pools/abstract-pool.ts:835
Private
redistribute Queued Tasks
@@ -1105,7 +1105,7 @@ Can be overridden.
workerNodeKey : number
Returns void
+Defined in src/pools/abstract-pool.ts:1390
Protected
Abstract
register Once Worker Message Listener
@@ -1145,7 +1145,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1318
Protected
Abstract
register Worker Message Listener
@@ -1185,7 +1185,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1305
+Defined in src/pools/abstract-pool.ts:819
Private
remove Worker Node
@@ -1225,7 +1225,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1615
Protected
send Kill Message To Worker
@@ -1238,7 +1238,7 @@ Can be overridden.
workerNodeKey : number
Returns Promise < void >
+Defined in src/pools/abstract-pool.ts:951
Protected
Abstract
send Startup Message To Worker
@@ -1257,7 +1257,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1371
Private
send Statistics Message To Worker
@@ -1276,7 +1276,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1378
Private
send Task Function Operation To Worker
@@ -1291,7 +1291,7 @@ Can be overridden.
Returns Promise < boolean >
+Defined in src/pools/abstract-pool.ts:686
Private
send Task Function Operation To Workers
@@ -1304,7 +1304,7 @@ Can be overridden.
Returns Promise < boolean >
+Defined in src/pools/abstract-pool.ts:727
Protected
Abstract
send To Worker
@@ -1333,7 +1333,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1188
+Defined in src/pools/abstract-pool.ts:848
Private
set Task Stealing
@@ -1362,7 +1362,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:620
+Defined in src/pools/abstract-pool.ts:579
Private
set Tasks Queue Size
@@ -1395,7 +1395,7 @@ Can be overridden.
size : number
Returns void
+Defined in src/pools/abstract-pool.ts:614
Private
set Tasks Stealing On Back Pressure
@@ -1403,7 +1403,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:633
+Defined in src/pools/abstract-pool.ts:532
set Worker Choice Strategy Options
+Defined in src/pools/abstract-pool.ts:551
Protected
setup Hook
@@ -1460,7 +1460,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:987
Private
shall Create Dynamic Worker
@@ -1472,7 +1472,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:1177
Private
shall Execute Task
@@ -1485,7 +1485,7 @@ Can be overridden.
workerNodeKey : number
Returns boolean
+Defined in src/pools/abstract-pool.ts:861
Private
shall Update Task Function Worker Usage
@@ -1505,7 +1505,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:1066
+Defined in src/pools/abstract-pool.ts:924
Private
task Stealing On Empty Queue
@@ -1530,7 +1530,7 @@ Can be overridden.
workerId : number
Returns void
+Defined in src/pools/abstract-pool.ts:1430
Private
tasks Queue Size
@@ -1543,7 +1543,7 @@ Can be overridden.
workerNodeKey : number
Returns number
+Defined in src/pools/abstract-pool.ts:1662
Private
tasks Stealing On Back Pressure
@@ -1556,7 +1556,7 @@ Can be overridden.
workerId : number
Returns void
+Defined in src/pools/abstract-pool.ts:1458
Private
unset Task Stealing
@@ -1564,7 +1564,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:627
Private
unset Tasks Stealing On Back Pressure
@@ -1572,7 +1572,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:640
Private
update Elu Worker Usage
@@ -1587,7 +1587,7 @@ Can be overridden.
message : MessageValue < Response , unknown >
Returns void
+Defined in src/pools/abstract-pool.ts:1120
Private
update Run Time Worker Usage
@@ -1602,7 +1602,7 @@ Can be overridden.
message : MessageValue < Response , unknown >
Returns void
+Defined in src/pools/abstract-pool.ts:1093
Private
update Task Statistics Worker Usage
@@ -1617,7 +1617,7 @@ Can be overridden.
message : MessageValue < Response , unknown >
Returns void
+Defined in src/pools/abstract-pool.ts:1075
Private
update Task Stolen Statistics Worker Usage
@@ -1632,7 +1632,7 @@ Can be overridden.
taskName : string
Returns void
+Defined in src/pools/abstract-pool.ts:1411
Private
update Wait Time Worker Usage
@@ -1647,34 +1647,23 @@ Can be overridden.
task : Task < Data >
Returns void
-
+
+Protected
worker Message Listener
@@ -1789,9 +1778,9 @@ Can be overridden.
update Task Statistics Worker Usage
update Task Stolen Statistics Worker Usage
update Wait Time Worker Usage
-worker Listener
+worker Message Listener
-
\ No newline at end of file
+
\ No newline at end of file
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:
@@ -224,7 +224,7 @@ The async tracking tooling identifier ispoolifier:<PoolType>-<Wo +Defined in src/pools/abstract-pool.ts:73
Path
file Path: string
@@ -232,7 +232,7 @@ The async tracking tooling identifier is
Protected
Readonly
filepoolifier:<PoolType>-<Wo