X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=2267ee40681fe4121460c0c2bb7a04870fbe8ce4;hb=247ce01eb1230d22b93252db1732d626d2745f9e;hp=34adb5eb7fb36b7859310e8f366ac327cc503b83;hpb=73d8141b526469f4fce46da956280f2b9146accb;p=poolifier.git
diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html
index 34adb5eb..2267ee40 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:146
-remove
+remove
remove: ((workerNodeKey) => boolean)
Type declaration
@@ -74,20 +76,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:175
-reset
+reset
reset: (() => boolean)
Type declaration
@@ -99,11 +96,12 @@
Returns boolean
true
if the reset is successful, false
otherwise.
-
+Defined in src/pools/selection-strategies/selection-strategies-types.ts:156
-setOptions
+setOptions
setOptions: ((opts) => void)
Type declaration
@@ -120,12 +118,22 @@
-Returns void
+
+Readonly
taskStatisticsRequirements
+
+
+
+Defined in src/pools/selection-strategies/selection-strategies-types.ts:150
-update
+update
update: ((workerNodeKey) => boolean)
Type declaration
@@ -142,14 +150,15 @@
workerNodeKey: number
Returns boolean
true
if the update is successful, false
otherwise.
-
+Defined in src/pools/selection-strategies/selection-strategies-types.ts:162
+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
Worker choice strategy interface.
-