X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedThreadPool.html;h=7e07ccb76eaf0874e457ea19396d95219ed14097;hb=f8350486e75b15ed17249cda3d0a55ee807a6a9f;hp=ea3cabe8ef8dcb5349a25f3e03e0490cb30c82f6;hpb=5dd39e0fba309bb3af0ca64aea5205f57dfe5d24;p=poolifier.git
diff --git a/docs/classes/FixedThreadPool.html b/docs/classes/FixedThreadPool.html
index ea3cabe8..7e07ccb7 100644
--- a/docs/classes/FixedThreadPool.html
+++ b/docs/classes/FixedThreadPool.html
@@ -44,7 +44,7 @@
+Defined in src/pools/thread/fixed.ts:29
+Defined in src/pools/thread/fixed.ts:40
Properties
@@ -140,11 +140,13 @@
'full'
: Emitted when the pool is dynamic and full.
'busy'
: Emitted when the pool is busy.
+'error'
: Emitted when an uncaught error occurs.
+'taskError'
: Emitted when an error occurs while executing a task.
+Defined in src/pools/abstract-pool.ts:44
Readonly
filePath
filePath: string
@@ -152,7 +154,7 @@
+Defined in src/pools/abstract-pool.ts:79
Readonly
numberOfWorkers
numberOfWorkers: number
@@ -160,7 +162,7 @@
+Defined in src/pools/abstract-pool.ts:78
Readonly
opts
@@ -168,7 +170,7 @@
+Defined in src/pools/abstract-pool.ts:80
Protected
promiseResponseMap
@@ -181,7 +183,7 @@
+Defined in src/pools/abstract-pool.ts:54
Protected
workerChoiceStrategyContext
@@ -190,7 +192,7 @@
+Defined in src/pools/abstract-pool.ts:64
Readonly
workerNodes
@@ -198,7 +200,7 @@
+Defined in src/pools/abstract-pool.ts:41
+Defined in src/pools/thread/fixed.ts:105
Private
numberOfQueuedTasks
+Defined in src/pools/abstract-pool.ts:230
Private
numberOfRunningTasks
+Defined in src/pools/abstract-pool.ts:220
+Defined in src/pools/thread/fixed.ts:100
+Defined in src/pools/thread/fixed.ts:95
Protected
afterWorkerSetup
+Defined in src/pools/thread/fixed.ts:85
Protected
beforeTaskExecutionHook
+Defined in src/pools/abstract-pool.ts:419
Protected
chooseWorkerNode
+Defined in src/pools/abstract-pool.ts:498
Protected
createAndSetupWorker
+Defined in src/pools/abstract-pool.ts:561
+Defined in src/pools/thread/fixed.ts:78
+Defined in src/pools/abstract-pool.ts:382
+Defined in src/pools/thread/fixed.ts:54
+Defined in src/pools/abstract-pool.ts:294
+Defined in src/pools/abstract-pool.ts:347
+Defined in src/pools/abstract-pool.ts:338
+Defined in src/pools/thread/fixed.ts:49
Protected
registerWorkerMessageListener
+Defined in src/pools/thread/fixed.ts:70
+Defined in src/pools/thread/fixed.ts:62
+Defined in src/pools/abstract-pool.ts:306
setWorkerChoiceStrategy
@@ -552,7 +554,7 @@ Can be overridden.
Parameters
-
-
workerChoiceStrategy: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN"
+workerChoiceStrategy: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
-
@@ -562,7 +564,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:253
setWorkerChoiceStrategyOptions
+Defined in src/pools/abstract-pool.ts:283
+Defined in src/pools/abstract-pool.ts:404
Protected
workerListener
@@ -618,7 +620,7 @@ Can be overridden
+Defined in src/pools/abstract-pool.ts:594
Chooses a worker node for the next task.
-The default uses a round robin algorithm to distribute the load.
+The default worker choice strategy uses a round robin algorithm to distribute the load.