X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=18d877da426f9e28ab44e78a179669b7cd563dd6;hb=2405d0fcd4939f801b544cefa8fd07b9ee2f0080;hp=868c18d4736042ef56009ec5e541c274b07fee89;hpb=7daf8b1ee6ee28ba8c39c63067cf7071f8638177;p=poolifier.git
diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html
index 868c18d4..18d877da 100644
--- a/docs/classes/WorkerChoiceStrategyContext.html
+++ b/docs/classes/WorkerChoiceStrategyContext.html
@@ -1,13 +1,13 @@
-
WorkerChoiceStrategyContext | poolifier - v2.6.30
+WorkerChoiceStrategyContext | poolifier - v2.7.4
+The search index is not availablepoolifier - v2.7.4
+
@@ -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: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.
-