X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedClusterPool.html;h=a7d9826725e5f8c2d8f55dc3f07f69ab2112ee66;hb=70353024c44987c467dadcec306c699ce4ae1f06;hp=6fc64bbdc46c70b6b5c11ef9baf0be3ac77f7686;hpb=6c7727ff79d651547ca10f44504d61e5073f07da;p=poolifier.git
diff --git a/docs/classes/FixedClusterPool.html b/docs/classes/FixedClusterPool.html
index 6fc64bbd..a7d98267 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,12 @@
'full'
: Emitted when the pool is dynamic and full.
'busy'
: Emitted when the pool is busy.
+'error'
: Emitted when an error occurs.
+Defined in src/pools/abstract-pool.ts:44
Readonly
filePath
filePath: string
@@ -152,7 +153,7 @@
+Defined in src/pools/abstract-pool.ts:79
Readonly
numberOfWorkers
numberOfWorkers: number
@@ -160,7 +161,7 @@
+Defined in src/pools/abstract-pool.ts:78
Readonly
opts
@@ -168,7 +169,7 @@
+Defined in src/pools/cluster/fixed.ts:53
Protected
promiseResponseMap
@@ -181,7 +182,7 @@
+Defined in src/pools/abstract-pool.ts:54
Protected
workerChoiceStrategyContext
@@ -190,7 +191,7 @@
+Defined in src/pools/abstract-pool.ts:64
Readonly
workerNodes
@@ -198,7 +199,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 +553,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 +563,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 +619,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.