X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FAbstractPool.html;h=92d46d153c26a6e332bce691985d560adac71ee5;hb=8974e0633f6c99528bf3590e7c76820b2c69d3e2;hp=1d9b8d8b84ee14b5a4bdfabeb9678ae4dcc6300f;hpb=010ae1ba98e5ab018fa09870982d511c9389b48b;p=poolifier.git
diff --git a/docs/classes/AbstractPool.html b/docs/classes/AbstractPool.html
index 1d9b8d8b..92d46d15 100644
--- a/docs/classes/AbstractPool.html
+++ b/docs/classes/AbstractPool.html
@@ -1,4 +1,4 @@
-
AbstractPool | poolifier - v2.6.37
+AbstractPool | poolifier - v2.6.40
@@ -49,7 +49,7 @@
- IPool<Worker, Data, Response>
+
Defined in src/pools/abstract-pool.ts:57
+
Defined in src/pools/abstract-pool.ts:113
Protected
Readonly
filePath
filePath: string
@@ -217,7 +217,7 @@
+
Defined in src/pools/abstract-pool.ts:115
Protected
Optional
Readonly
max
max?: number
@@ -225,7 +225,7 @@
+Defined in src/pools/abstract-pool.ts:91
Protected
Readonly
numberOfWorkers
numberOfWorkers: number
@@ -233,7 +233,7 @@
+Defined in src/pools/abstract-pool.ts:114
Protected
Readonly
opts
@@ -241,7 +241,7 @@
+Defined in src/pools/abstract-pool.ts:116
Protected
promiseResponseMap
@@ -254,7 +254,7 @@
+Defined in src/pools/abstract-pool.ts:76
Private
Readonly
startTimestamp
startTimestamp: number
@@ -262,7 +262,7 @@
+Defined in src/pools/abstract-pool.ts:104
Private
started
started: boolean
@@ -270,7 +270,7 @@
+Defined in src/pools/abstract-pool.ts:100
Private
Readonly
starting
starting: boolean
@@ -278,7 +278,7 @@
+Defined in src/pools/abstract-pool.ts:96
Protected
workerChoiceStrategyContext
@@ -286,7 +286,7 @@
+Defined in src/pools/abstract-pool.ts:82
Readonly
Internal
workerNodes
@@ -295,7 +295,7 @@
+Defined in src/pools/abstract-pool.ts:63
Protected
full
@@ -321,7 +321,7 @@
Returns boolean
+Defined in src/pools/abstract-pool.ts:687
+Defined in src/pools/abstract-pool.ts:348
Protected
maxSize
@@ -344,7 +344,7 @@
Returns number
+Defined in src/pools/abstract-pool.ts:560
Protected
minSize
@@ -355,7 +355,7 @@
Returns number
+Defined in src/pools/abstract-pool.ts:553
Private
ready
@@ -366,7 +366,7 @@
Returns boolean
+Defined in src/pools/abstract-pool.ts:505
Protected
Abstract
type
@@ -378,7 +378,7 @@
Returns "fixed" | "dynamic"
+Defined in src/pools/abstract-pool.ts:543
+Defined in src/pools/abstract-pool.ts:522
Protected
Abstract
worker
@@ -401,7 +401,7 @@
Returns "thread" | "cluster"
+Defined in src/pools/abstract-pool.ts:548
Protected
afterTaskExecutionHook
@@ -447,7 +447,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:886
Protected
afterWorkerNodeSetup
@@ -466,7 +466,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1160
Protected
beforeTaskExecutionHook
@@ -489,7 +489,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:856
Private
buildTasksQueueOptions
@@ -502,7 +502,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:670
Private
checkAndEmitDynamicWorkerCreationEvents
@@ -510,7 +510,7 @@ Can be overridden.
-
Returns void
+Defined in src/pools/abstract-pool.ts:1403
Private
checkAndEmitTaskExecutionEvents
@@ -518,7 +518,7 @@ Can be overridden.
-
Returns void
+Defined in src/pools/abstract-pool.ts:1391
Private
checkAndEmitTaskQueuingEvents
@@ -526,7 +526,7 @@ Can be overridden.
-
Returns void
+Defined in src/pools/abstract-pool.ts:1397
Protected
checkDynamicPoolSize
@@ -541,7 +541,7 @@ Can be overridden.
max: number
Returns void
+Defined in src/pools/abstract-pool.ts:185
Private
checkFilePath
@@ -554,7 +554,7 @@ Can be overridden.
filePath: string
Returns void
+Defined in src/pools/abstract-pool.ts:154
Private
checkMessageWorkerId
+Defined in src/pools/abstract-pool.ts:570
Private
checkNumberOfWorkers
@@ -587,7 +587,7 @@ Can be overridden.
numberOfWorkers: number
Returns void
+Defined in src/pools/abstract-pool.ts:167
Private
checkPoolOptions
@@ -600,7 +600,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:211
Private
checkValidTasksQueueOptions
@@ -613,7 +613,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:293
Private
checkValidWorkerChoiceStrategy
@@ -626,7 +626,7 @@ Can be overridden.
workerChoiceStrategy: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "LEAST_ELU" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
Returns void
+Defined in src/pools/abstract-pool.ts:239
Private
checkValidWorkerChoiceStrategyOptions
@@ -639,7 +639,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:249
Private
chooseWorkerNode
@@ -652,7 +652,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:1013
Protected
createAndSetupDynamicWorkerNode
@@ -664,7 +664,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:1103
Protected
createAndSetupWorkerNode
@@ -676,7 +676,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:1059
Protected
Abstract
createWorker
@@ -688,7 +688,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:1052
Private
dequeueTask
@@ -701,7 +701,7 @@ Can be overridden.
workerNodeKey: number
Returns undefined | Task<Data>
+Defined in src/pools/abstract-pool.ts:1493
+Defined in src/pools/abstract-pool.ts:801
Protected
Abstract
destroyWorkerNode
@@ -731,7 +731,7 @@ Can be overridden.
Returns Promise<void>
+Defined in src/pools/abstract-pool.ts:832
+Defined in src/pools/abstract-pool.ts:641
Private
enqueueTask
@@ -769,7 +769,7 @@ Can be overridden.
task: Task<Data>
Returns number
+Defined in src/pools/abstract-pool.ts:1487
+Defined in src/pools/abstract-pool.ts:745
Private
executeTask
@@ -819,7 +819,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1481
Protected
flushTasksQueue
@@ -832,7 +832,7 @@ Can be overridden.
workerNodeKey: number
Returns void
+Defined in src/pools/abstract-pool.ts:1501
Private
flushTasksQueues
@@ -840,7 +840,7 @@ Can be overridden.
-
Returns void
+Defined in src/pools/abstract-pool.ts:1511
Protected
getWorkerInfo
@@ -859,7 +859,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:1417
Private
getWorkerNodeKeyByWorker
@@ -878,7 +878,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:589
Private
getWorkerNodeKeyByWorkerId
@@ -897,7 +897,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:601
Private
handleTaskExecutionResponse
@@ -910,7 +910,7 @@ Can be overridden.
message: MessageValue<Response, unknown>
Returns void
+Defined in src/pools/abstract-pool.ts:1363
Private
handleWorkerReadyResponse
@@ -923,7 +923,7 @@ Can be overridden.
message: MessageValue<Response, unknown>
Returns void
+Defined in src/pools/abstract-pool.ts:1349
Private
hasBackPressure
@@ -931,7 +931,7 @@ Can be overridden.
-
Returns boolean
+Defined in src/pools/abstract-pool.ts:1466
hasWorkerNodeBackPressure
+Defined in src/pools/abstract-pool.ts:1459
Protected
internalBusy
@@ -963,7 +963,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:703
Protected
Abstract
isMain
@@ -974,7 +974,7 @@ Can be overridden.
Returns boolean
+Defined in src/pools/abstract-pool.ts:847
+Defined in src/pools/abstract-pool.ts:724
Private
redistributeQueuedTasks
@@ -1000,7 +1000,7 @@ Can be overridden.
workerNodeKey: number
Returns void
+Defined in src/pools/abstract-pool.ts:1200
Protected
Abstract
registerWorkerMessageListener
@@ -1038,7 +1038,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1147
Private
removeWorkerNode
@@ -1056,7 +1056,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1450
Protected
sendKillMessageToWorker
@@ -1071,7 +1071,7 @@ Can be overridden.
workerId: number
Returns Promise<void>
+Defined in src/pools/abstract-pool.ts:811
Protected
Abstract
sendStartupMessageToWorker
@@ -1089,7 +1089,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1180
Private
sendStatisticsMessageToWorker
@@ -1107,7 +1107,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1187
Protected
Abstract
sendToWorker
@@ -1133,20 +1133,7 @@ Can be overridden.
Returns void
-
-Private
setTasksQueueMaxSize
-
-- setTasksQueueMaxSize(size): void
--
-
-
Returns void
+Defined in src/pools/abstract-pool.ts:1041
+Defined in src/pools/abstract-pool.ts:653
+
+Private
setTasksQueueSize
+
+- setTasksQueueSize(size): void
+-
+
+
Returns void
+Defined in src/pools/abstract-pool.ts:608
setWorkerChoiceStrategyOptions
+Defined in src/pools/abstract-pool.ts:627
Protected
setupHook
@@ -1219,7 +1219,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:840
Private
shallCreateDynamicWorker
@@ -1231,7 +1231,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:1030
Private
shallExecuteTask
@@ -1244,7 +1244,7 @@ Can be overridden.
workerNodeKey: number
Returns boolean
+Defined in src/pools/abstract-pool.ts:736
Private
shallUpdateTaskFunctionWorkerUsage
@@ -1263,7 +1263,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:919
Private
startPool
@@ -1271,7 +1271,7 @@ Can be overridden.
-
Returns void
+Defined in src/pools/abstract-pool.ts:335
Private
taskStealingOnEmptyQueue
@@ -1284,7 +1284,7 @@ Can be overridden.
workerId: number
Returns void
+Defined in src/pools/abstract-pool.ts:1250
Private
tasksQueueSize
@@ -1297,7 +1297,7 @@ Can be overridden.
workerNodeKey: number
Returns number
+Defined in src/pools/abstract-pool.ts:1497
Private
tasksStealingOnBackPressure
@@ -1310,7 +1310,7 @@ Can be overridden.
workerId: number
Returns void
+Defined in src/pools/abstract-pool.ts:1286
Private
updateEluWorkerUsage
@@ -1325,7 +1325,7 @@ Can be overridden.
message: MessageValue<Response, unknown>
Returns void
+Defined in src/pools/abstract-pool.ts:973
Private
updateRunTimeWorkerUsage
@@ -1340,7 +1340,7 @@ Can be overridden.
message: MessageValue<Response, unknown>
Returns void
+Defined in src/pools/abstract-pool.ts:946
Private
updateTaskStatisticsWorkerUsage
@@ -1355,7 +1355,7 @@ Can be overridden.
message: MessageValue<Response, unknown>
Returns void
+Defined in src/pools/abstract-pool.ts:928
Private
updateTaskStolenStatisticsWorkerUsage
@@ -1370,7 +1370,7 @@ Can be overridden.
taskName: string
Returns void
+Defined in src/pools/abstract-pool.ts:1231
Private
updateWaitTimeWorkerUsage
@@ -1385,7 +1385,7 @@ Can be overridden.
task: Task<Data>
Returns void
+Defined in src/pools/abstract-pool.ts:960
Protected
workerListener
@@ -1412,7 +1412,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:1329