X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=0ee5e696aa35f21abe3105a014d768fdb3f7997c;hb=2de80350c43436f87fca7de401d213c0d93fe208;hp=df183a6c07c58196a62503077152d1ba9f0b8469;hpb=b7e141c40bccfd7a4ec0ff98b7829f7d296f048b;p=poolifier.git
diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html
index df183a6c..0ee5e696 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.
-