X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=024a515b6ad148b9a95cbe878e4f8594b559d42f;hb=aac8863d208eadcb0ecb33dc44d045c26f5a444f;hp=bbc7382e1b684240ce9887a0434b800aa5347d81;hpb=67de15a041152a973334839ad2c73284b1b3cbb3;p=poolifier.git
diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html
index bbc7382e..024a515b 100644
--- a/docs/classes/WorkerChoiceStrategyContext.html
+++ b/docs/classes/WorkerChoiceStrategyContext.html
@@ -17,28 +17,32 @@
Class WorkerChoiceStrategyContext<Worker, Data, Response>
+
+
Type Parameters
-
Worker extends IWorker
+
+
-
Data = unknown
+
+
-
Response = unknown
+
+
Hierarchy
- WorkerChoiceStrategyContext
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:26
@@ -46,27 +50,28 @@
Constructors
-constructor
+
Properties
-workerChoiceStrategies
-
workerChoiceStrategy
+
Constructors
-constructor
+constructor
-- new WorkerChoiceStrategyContext<Worker, Data, Response>(pool, workerChoiceStrategy?, opts?): WorkerChoiceStrategyContext<Worker, Data, Response>
+- new WorkerChoiceStrategyContext<Worker, Data, Response>(pool, workerChoiceStrategy?, opts?): WorkerChoiceStrategyContext<Worker, Data, Response>
-
@@ -85,62 +90,71 @@
-
pool: IPool<Worker, Data, Response>
+
+
-workerChoiceStrategy: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" = WorkerChoiceStrategies.ROUND_ROBIN
+workerChoiceStrategy: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "LEAST_ELU" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN" = WorkerChoiceStrategies.ROUND_ROBIN
+
+
-
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:43
-Private
workerChoiceStrategy
-workerChoiceStrategy: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" = WorkerChoiceStrategies.ROUND_ROBIN
+Private
workerChoiceStrategy
+workerChoiceStrategy: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "LEAST_ELU" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN" = WorkerChoiceStrategies.ROUND_ROBIN
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:45
-setOptions
+setOptions
-- setOptions(opts): void
+- setOptions(opts): void
-
@@ -166,14 +182,16 @@
-
-Returns void
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:184
-setWorkerChoiceStrategy
+setWorkerChoiceStrategy
-- setWorkerChoiceStrategy(workerChoiceStrategy): void
+- setWorkerChoiceStrategy(workerChoiceStrategy): void
-
@@ -181,17 +199,36 @@
Parameters
-
-
workerChoiceStrategy: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN"
+workerChoiceStrategy: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "LEAST_ELU" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
-Returns void
+Returns void
+
+
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:139
+AbstractPool
+AbstractWorker
+CircularArray
+ClusterWorker
+DynamicClusterPool
+DynamicThreadPool
+FixedClusterPool
+FixedThreadPool
+PoolEmitter
+Queue
+ThreadWorker
+WorkerChoiceStrategyContext
+ClusterPoolOptions
+EventLoopUtilizationMeasurementStatistics
+IPool
+IWorker
+IWorkerChoiceStrategy
+MeasurementOptions
+MeasurementStatistics
+MeasurementStatisticsRequirements
+MessageValue
+PoolInfo
+PoolOptions
+PromiseResponseWrapper
+Task
+TaskError
+TaskPerformance
+TaskStatistics
+TaskStatisticsRequirements
+TasksQueueOptions
+ThreadPoolOptions
+WorkerChoiceStrategyOptions
+WorkerNode
+WorkerOptions
+WorkerStatistics
+WorkerUsage
+Draft
+ErrorHandler
+ExitHandler
+KillBehavior
+Measurement
+MessageHandler
+OnlineHandler
+PoolEvent
+PoolType
+TaskFunctions
+ThreadWorkerWithMessageChannel
+WorkerAsyncFunction
+WorkerChoiceStrategy
+WorkerFunction
+WorkerSyncFunction
+WorkerType
+KillBehaviors
+Measurements
+PoolEvents
+PoolTypes
+WorkerChoiceStrategies
+WorkerTypes
The worker choice strategy context.
-