X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=f9c635cce371748d0f05de60fd4c083f24d88814;hb=9adcefabee69d0c8a8f580c2512e35d2c54c8219;hp=34adb5eb7fb36b7859310e8f366ac327cc503b83;hpb=73d8141b526469f4fce46da956280f2b9146accb;p=poolifier.git
diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html
index 34adb5eb..f9c635cc 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:102
-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:131
-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:112
-setOptions
+setOptions
setOptions: ((opts) => void)
Type declaration
@@ -120,12 +118,22 @@
-Returns void
+
+Readonly
taskStatistics
+
+
+
+Defined in src/pools/selection-strategies/selection-strategies-types.ts:106
-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:118
+AbstractPool
+AbstractWorker
+CircularArray
+ClusterWorker
+DynamicClusterPool
+DynamicThreadPool
+FixedClusterPool
+FixedThreadPool
+PoolEmitter
+Queue
+ThreadWorker
+WorkerChoiceStrategyContext
+ClusterPoolOptions
+IPool
+IWorker
+IWorkerChoiceStrategy
+MessageValue
+PoolInfo
+PoolOptions
+PromiseResponseWrapper
+Task
+TaskPerformance
+TaskStatistics
+TasksQueueOptions
+TasksUsage
+ThreadPoolOptions
+WorkerChoiceStrategyOptions
+WorkerNode
+WorkerOptions
+WorkerStatistics
+Draft
+ErrorHandler
+ExitHandler
+KillBehavior
+MessageHandler
+OnlineHandler
+PoolEvent
+PoolType
+TaskFunctions
+ThreadWorkerWithMessageChannel
+WorkerAsyncFunction
+WorkerChoiceStrategy
+WorkerFunction
+WorkerSyncFunction
+WorkerType
+KillBehaviors
+PoolEvents
+PoolTypes
+WorkerChoiceStrategies
+WorkerTypes
Worker choice strategy interface.
-