X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=2267ee40681fe4121460c0c2bb7a04870fbe8ce4;hb=247ce01eb1230d22b93252db1732d626d2745f9e;hp=9b5d803902683faa7203dbaebb2d919f665b8008;hpb=a2742ce794032ee57b3ec1203c500b1aecca34f0;p=poolifier.git
diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html
index 9b5d8039..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.
-