X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=af74f6bbbd032cf66125f016f8d1442903ca246c;hb=6c4fa3e1bd11a23fd83b8492ad941a323853de06;hp=9f11ae6c00714e835a48acd896137cf217cfc753;hpb=953288ed6e2b952fb17b6fb0ebc4188ce813d53b;p=poolifier.git
diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html
index 9f11ae6c..af74f6bb 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
-choiceRetriesCount
-
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>
-
@@ -108,17 +108,9 @@
+
Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:49
Properties
-
-Private
choiceRetriesCount
-choiceRetriesCount: number = 0
-
-
Private
opts
@@ -126,12 +118,20 @@
+
Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:52
+
+Private
retriesCount
+retriesCount: number = 0
+
+
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
@@ -139,7 +139,7 @@
+
Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:51
+
Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:173
+
Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:119
getTaskStatisticsRequirements
+
Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:132
+
Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:200
setOptions
@@ -218,7 +218,7 @@
Returns void
+
Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:213
setWorkerChoiceStrategy
@@ -237,7 +237,7 @@
Returns void
+
Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:145
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:159
-
\ No newline at end of file
+
Generated using TypeDoc
+
\ No newline at end of file
The number of times the worker choice strategy in the context has been retried.
-