X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedClusterPool.html;h=cc4ee529743e034bb8d4b10eead673b8e01c457e;hb=ccb7d1a70cd9bd4eb050160517e5bc48311d014f;hp=a206c71efbfc60a0aec7c21c6cc31ed391d65a4b;hpb=5dd39e0fba309bb3af0ca64aea5205f57dfe5d24;p=poolifier.git
diff --git a/docs/classes/FixedClusterPool.html b/docs/classes/FixedClusterPool.html
index a206c71e..cc4ee529 100644
--- a/docs/classes/FixedClusterPool.html
+++ b/docs/classes/FixedClusterPool.html
@@ -44,7 +44,7 @@
+Defined in src/pools/cluster/fixed.ts:39
+Defined in src/pools/cluster/fixed.ts:50
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/cluster/fixed.ts:53
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/cluster/fixed.ts:109
Private
numberOfQueuedTasks
+Defined in src/pools/abstract-pool.ts:230
Private
numberOfRunningTasks
+Defined in src/pools/abstract-pool.ts:220
+Defined in src/pools/cluster/fixed.ts:104
+Defined in src/pools/cluster/fixed.ts:99
Protected
afterWorkerSetup
+Defined in src/pools/cluster/fixed.ts:93
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/cluster/fixed.ts:88
+Defined in src/pools/abstract-pool.ts:382
+Defined in src/pools/cluster/fixed.ts:69
+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/cluster/fixed.ts:64
Protected
registerWorkerMessageListener
+Defined in src/pools/cluster/fixed.ts:80
+Defined in src/pools/cluster/fixed.ts:75
+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/cluster/fixed.ts:59
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.