X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=ef03ff4661f87e414c5841a456799884fe0dba81;hb=4e1212db1d198963828820471bde6902277d0388;hp=28c4c8bd06eb99fda0635782f6db3f0f57f417de;hpb=8481e318ad9225134cde44c1ccdbb2e9166aaf15;p=poolifier.git
diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html
index 28c4c8bd..ef03ff46 100644
--- a/docs/classes/WorkerChoiceStrategyContext.html
+++ b/docs/classes/WorkerChoiceStrategyContext.html
@@ -1,13 +1,13 @@
-
@@ -42,26 +42,26 @@
- WorkerChoiceStrategyContext
+
Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:27
- Index
+ Index
Constructors
-constructor
+
Properties
-opts
+
Methods
-execute
+
execute
getStrategyPolicy
getTaskStatisticsRequirements
remove
@@ -72,7 +72,7 @@
Constructors
-constructor
+constructor
- new WorkerChoiceStrategyContext<Worker, Data, Response>(pool, workerChoiceStrategy?, opts?): WorkerChoiceStrategyContext<Worker, Data, Response>
-
@@ -93,19 +93,22 @@
-
pool: IPool<Worker, Data, Response>
+
+
workerChoiceStrategy: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "LEAST_ELU" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN" = WorkerChoiceStrategies.ROUND_ROBIN
+
+
+
+
+
Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:49
+
Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:52
Private
retriesCount
retriesCount: number = 0
@@ -123,12 +126,12 @@
+
Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:40
Private
Readonly
workerChoiceStrategies
workerChoiceStrategies: Map<"ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "LEAST_ELU" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN", IWorkerChoiceStrategy>
+
Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:32
Private
workerChoiceStrategy
workerChoiceStrategy: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "LEAST_ELU" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN" = WorkerChoiceStrategies.ROUND_ROBIN
@@ -136,7 +139,7 @@
The pool instance.
-