X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=9b15be25327b4eecb011e693535a3c48d755cfb5;hb=ac2cb9e206b5e67cc52124eb334507f5dce230d5;hp=11d7386d79e90033ce8405289f86837bd4c10b7c;hpb=f8350486e75b15ed17249cda3d0a55ee807a6a9f;p=poolifier.git
diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html
index 11d7386d..9b15be25 100644
--- a/docs/interfaces/IWorkerChoiceStrategy.html
+++ b/docs/interfaces/IWorkerChoiceStrategy.html
@@ -17,13 +17,14 @@
Interface IWorkerChoiceStrategy
+
+
+Defined in src/pools/selection-strategies/selection-strategies-types.ts:158
-remove
+remove
remove: ((workerNodeKey) => boolean)
Type declaration
@@ -74,20 +77,15 @@
workerNodeKey: number
+
+
Returns boolean
true
if the worker node key is removed, false
otherwise.
-
-
-Readonly
requiredStatistics
-
-
+Defined in src/pools/selection-strategies/selection-strategies-types.ts:191
-reset
+reset
reset: (() => boolean)
Type declaration
@@ -99,11 +97,12 @@
Returns boolean
true
if the reset is successful, false
otherwise.
-
+Defined in src/pools/selection-strategies/selection-strategies-types.ts:172
-setOptions
+setOptions
setOptions: ((opts) => void)
Type declaration
@@ -120,12 +119,30 @@
-Returns void
+
+Readonly
strategyPolicy
+
+
+
+
+Readonly
taskStatisticsRequirements
+
+
+
+Defined in src/pools/selection-strategies/selection-strategies-types.ts:166
-update
+update
update: ((workerNodeKey) => boolean)
Type declaration
@@ -142,14 +159,15 @@
workerNodeKey: number
Returns boolean
true
if the update is successful, false
otherwise.
-
+Defined in src/pools/selection-strategies/selection-strategies-types.ts:178
+AbstractPool
+AbstractWorker
+CircularArray
+ClusterWorker
+DynamicClusterPool
+DynamicThreadPool
+FixedClusterPool
+FixedThreadPool
+PoolEmitter
+Queue
+ThreadWorker
+WorkerChoiceStrategyContext
+ClusterPoolOptions
+EventLoopUtilizationMeasurementStatistics
+IPool
+IWorker
+IWorkerChoiceStrategy
+MeasurementOptions
+MeasurementStatistics
+MeasurementStatisticsRequirements
+MessageValue
+PoolInfo
+PoolOptions
+PromiseResponseWrapper
+StrategyPolicy
+Task
+TaskError
+TaskPerformance
+TaskStatistics
+TaskStatisticsRequirements
+TasksQueueOptions
+ThreadPoolOptions
+WorkerChoiceStrategyOptions
+WorkerInfo
+WorkerNode
+WorkerOptions
+WorkerStatistics
+WorkerUsage
+ErrorHandler
+ExitHandler
+KillBehavior
+Measurement
+MessageHandler
+OnlineHandler
+PoolEvent
+PoolType
+TaskFunctions
+WorkerAsyncFunction
+WorkerChoiceStrategy
+WorkerFunction
+WorkerSyncFunction
+WorkerType
+KillBehaviors
+Measurements
+PoolEvents
+PoolTypes
+WorkerChoiceStrategies
+WorkerTypes
+availableParallelism
Worker choice strategy interface.
-