X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=af74f6bbbd032cf66125f016f8d1442903ca246c;hb=b5f1d0268446c60c01e1adac42e4c6cc2ec0f38f;hp=e1dc81a7594139a5572695c371cb257af5fef714;hpb=a84c4698b83aaa02b9f10e52aa9c76eff5b5871f;p=poolifier.git
diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html
index e1dc81a7..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.
-