X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Fclasses%2FAbstractPool.html;h=48d436c8a7e1ce36227e088badf7c1e00fb46e9f;hb=8cc4ea811611b8ad77c7b0379911afe497f2e7e4;hp=7f201407c20601a160864b3a7f517daafefb0211;hpb=d8e6bb3c5f8adc1797760260a1a22c228f76e984;p=poolifier.git
diff --git a/docs/classes/AbstractPool.html b/docs/classes/AbstractPool.html
index 7f201407..48d436c8 100644
--- a/docs/classes/AbstractPool.html
+++ b/docs/classes/AbstractPool.html
@@ -1,4 +1,4 @@
-
AbstractPool | poolifier - v2.6.27
+AbstractPool | poolifier - v2.6.28
@@ -49,7 +49,7 @@
- IPool<Worker, Data, Response>
+
Defined in src/pools/abstract-pool.ts:56
@@ -180,7 +180,7 @@
Returns AbstractPool<Worker, Data, Response>
+
Defined in src/pools/abstract-pool.ts:107
Protected
Readonly
filePath
filePath: string
@@ -208,7 +208,7 @@
+
Defined in src/pools/abstract-pool.ts:109
Protected
Readonly
numberOfWorkers
numberOfWorkers: number
@@ -216,7 +216,7 @@
+Defined in src/pools/abstract-pool.ts:108
Protected
Readonly
opts
@@ -224,7 +224,7 @@
+Defined in src/pools/abstract-pool.ts:110
Protected
promiseResponseMap
@@ -237,7 +237,7 @@
+Defined in src/pools/abstract-pool.ts:75
Private
Readonly
startTimestamp
startTimestamp: number
@@ -245,7 +245,7 @@
+Defined in src/pools/abstract-pool.ts:94
Private
Readonly
starting
starting: boolean
@@ -253,7 +253,7 @@
+Defined in src/pools/abstract-pool.ts:90
Private
taskFunctions
taskFunctions: string[]
@@ -261,7 +261,7 @@
+Defined in src/pools/abstract-pool.ts:98
Protected
workerChoiceStrategyContext
@@ -269,7 +269,7 @@
+Defined in src/pools/abstract-pool.ts:81
Readonly
workerNodes
@@ -278,7 +278,7 @@
+Defined in src/pools/abstract-pool.ts:62
Protected
full
@@ -304,7 +304,7 @@
Returns boolean
+Defined in src/pools/abstract-pool.ts:615
+Defined in src/pools/abstract-pool.ts:308
Protected
Abstract
maxSize
@@ -327,7 +327,7 @@
Returns number
+Defined in src/pools/abstract-pool.ts:504
Protected
Abstract
minSize
@@ -338,7 +338,7 @@
Returns number
+Defined in src/pools/abstract-pool.ts:499
Private
ready
@@ -349,7 +349,7 @@
Returns boolean
+Defined in src/pools/abstract-pool.ts:451
Protected
Abstract
type
@@ -361,7 +361,7 @@
Returns "fixed" | "dynamic"
+Defined in src/pools/abstract-pool.ts:489
+Defined in src/pools/abstract-pool.ts:468
Protected
Abstract
worker
@@ -384,7 +384,7 @@
Returns "thread" | "cluster"
+Defined in src/pools/abstract-pool.ts:494
Protected
afterTaskExecutionHook
@@ -433,7 +433,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:795
Protected
afterWorkerNodeSetup
@@ -453,7 +453,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1028
Protected
beforeTaskExecutionHook
@@ -478,7 +478,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:774
Private
buildTasksQueueOptions
@@ -491,7 +491,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:602
Private
checkAndEmitEvents
@@ -499,7 +499,7 @@ Can be overridden.
-
Returns void
+Defined in src/pools/abstract-pool.ts:1168
Protected
checkDynamicPoolSize
@@ -514,7 +514,7 @@ Can be overridden.
max: number
Returns void
+Defined in src/pools/abstract-pool.ts:180
Private
checkFilePath
@@ -527,7 +527,7 @@ Can be overridden.
filePath: string
Returns void
+Defined in src/pools/abstract-pool.ts:149
Private
checkMessageWorkerId
+Defined in src/pools/abstract-pool.ts:512
Private
checkNumberOfWorkers
@@ -561,7 +561,7 @@ Can be overridden.
numberOfWorkers: number
Returns void
+Defined in src/pools/abstract-pool.ts:162
Private
checkPoolOptions
@@ -574,7 +574,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:206
Private
checkValidTasksQueueOptions
@@ -587,7 +587,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:271
Private
checkValidWorkerChoiceStrategy
@@ -600,7 +600,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:233
Private
checkValidWorkerChoiceStrategyOptions
@@ -613,7 +613,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:243
Private
chooseWorkerNode
@@ -626,7 +626,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:889
Protected
createAndSetupDynamicWorkerNode
@@ -638,7 +638,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:975
Protected
createAndSetupWorkerNode
@@ -650,7 +650,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:935
Protected
Abstract
createWorker
@@ -662,7 +662,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:928
Private
dequeueTask
@@ -675,7 +675,7 @@ Can be overridden.
workerNodeKey: number
Returns undefined | Task<Data>
+Defined in src/pools/abstract-pool.ts:1238
+Defined in src/pools/abstract-pool.ts:720
Protected
Abstract
destroyWorkerNode
@@ -706,7 +706,7 @@ Can be overridden.
Returns Promise<void>
+Defined in src/pools/abstract-pool.ts:750
+Defined in src/pools/abstract-pool.ts:580
Private
enqueueTask
@@ -746,7 +746,7 @@ Can be overridden.
task: Task<Data>
Returns number
+Defined in src/pools/abstract-pool.ts:1234
+Defined in src/pools/abstract-pool.ts:661
Private
executeTask
@@ -801,7 +801,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1229
Protected
flushTasksQueue
@@ -814,7 +814,7 @@ Can be overridden.
workerNodeKey: number
Returns void
+Defined in src/pools/abstract-pool.ts:1246
Private
flushTasksQueues
@@ -822,7 +822,7 @@ Can be overridden.
-
Returns void
+Defined in src/pools/abstract-pool.ts:1256
Protected
getWorkerInfo
@@ -842,7 +842,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:1185
Private
getWorkerNodeKeyByWorker
@@ -862,7 +862,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:531
Private
getWorkerNodeKeyByWorkerId
@@ -882,7 +882,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:543
Private
handleTaskExecutionResponse
@@ -895,7 +895,7 @@ Can be overridden.
message: MessageValue<Response, unknown>
Returns void
+Defined in src/pools/abstract-pool.ts:1139
Private
handleWorkerReadyResponse
@@ -908,7 +908,7 @@ Can be overridden.
message: MessageValue<Response, unknown>
Returns void
+Defined in src/pools/abstract-pool.ts:1127
Protected
internalBusy
@@ -920,7 +920,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:631
Protected
Abstract
isMain
@@ -931,7 +931,7 @@ Can be overridden.
Returns boolean
+Defined in src/pools/abstract-pool.ts:765
+Defined in src/pools/abstract-pool.ts:652
Private
redistributeQueuedTasks
@@ -957,7 +957,7 @@ Can be overridden.
workerNodeKey: number
Returns void
+Defined in src/pools/abstract-pool.ts:1062
Protected
Abstract
registerWorkerMessageListener
@@ -997,7 +997,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1015
Private
removeWorkerNode
@@ -1016,7 +1016,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1215
Protected
sendKillMessageToWorker
@@ -1031,7 +1031,7 @@ Can be overridden.
workerId: number
Returns Promise<void>
+Defined in src/pools/abstract-pool.ts:729
Protected
Abstract
sendStartupMessageToWorker
@@ -1050,7 +1050,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1042
Private
sendStatisticsMessageToWorker
@@ -1069,7 +1069,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:1049
Protected
Abstract
sendToWorker
@@ -1098,7 +1098,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:917
+Defined in src/pools/abstract-pool.ts:592
+Defined in src/pools/abstract-pool.ts:550
setWorkerChoiceStrategyOptions
+Defined in src/pools/abstract-pool.ts:569
Protected
setupHook
@@ -1175,7 +1175,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:758
Private
shallCreateDynamicWorker
@@ -1187,7 +1187,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:906
Private
startPool
@@ -1195,7 +1195,7 @@ Can be overridden.
-
Returns void
+Defined in src/pools/abstract-pool.ts:295
Private
tasksQueueSize
@@ -1208,7 +1208,7 @@ Can be overridden.
workerNodeKey: number
Returns number
+Defined in src/pools/abstract-pool.ts:1242
Private
updateEluWorkerUsage
@@ -1223,7 +1223,7 @@ Can be overridden.
message: MessageValue<Response, unknown>
Returns void
+Defined in src/pools/abstract-pool.ts:850
Private
updateRunTimeWorkerUsage
@@ -1238,7 +1238,7 @@ Can be overridden.
message: MessageValue<Response, unknown>
Returns void
+Defined in src/pools/abstract-pool.ts:824
Private
updateTaskStatisticsWorkerUsage
@@ -1253,7 +1253,7 @@ Can be overridden.
message: MessageValue<Response, unknown>
Returns void
+Defined in src/pools/abstract-pool.ts:811
Private
updateWaitTimeWorkerUsage
@@ -1268,7 +1268,7 @@ Can be overridden.
task: Task<Data>
Returns void
+Defined in src/pools/abstract-pool.ts:836
Protected
workerListener
@@ -1295,7 +1295,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:1111