X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=be1b00b215cde290b057d16884992727bc5799ac;hb=aba8d9bd41f1bd46f3cc3863c0c2e74bdfacb7b6;hp=bb436c2a60f5bccdd957941c3d3e6575f928e762;hpb=2c94c3a5da9d6b4a0ac992386907d8a406ee38f7;p=poolifier.git
diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html
index bb436c2a..be1b00b2 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
+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
Worker choice strategy interface.
-