X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=21bd165761b9082b7d96a9103edb3522aab08ca2;hb=245c30a9299f1153858f7d8fbb91780d99760d66;hp=868c18d4736042ef56009ec5e541c274b07fee89;hpb=edc0cdb11d19cc5993ca98004a7dbbf49439acd8;p=poolifier.git
diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html
index 868c18d4..21bd1657 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.
-