X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=b597f2c9a3745bbf3ef3ebab891d4eac7fca5edc;hb=b2862722f44d3facf07a2e632d25d261f3dabbce;hp=2a6aca57589b3e939b2211ea63742d8362e0aa70;hpb=0bb3df76aeab8a2af9e99ccf91d9e9cc5e751674;p=poolifier.git
diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html
index 2a6aca57..b597f2c9 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.
-