X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=daf43a7547f44d61e7310af4932b1ac50ffe645e;hb=297f3bbe14ff67d6e7bf27bd9dd4088170151ce5;hp=8f75212a3fdac537f4b434d15bcc63130bd4d95e;hpb=3bd6a82e43e11294af91bbd19647944ac740169e;p=poolifier.git
diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html
index 8f75212a..daf43a75 100644
--- a/docs/classes/WorkerChoiceStrategyContext.html
+++ b/docs/classes/WorkerChoiceStrategyContext.html
@@ -18,11 +18,11 @@
Worker choice strategy context constructor. The pool instance. The worker choice strategy. The worker choice strategy options.Type Parameters
-
@@ -60,21 +60,22 @@
remove
set
Constructors
constructor
-
Type Parameters
-Data = unknown
Parameters
-pool: IPool<Worker, Data, Response>
+pool: IPool<Worker, Data, Response>
opts: WorkerChoiceStrategyOptions = DEFAULT_WORKER_CHOICE_STRATEGY_OPTIONS
+opts: WorkerChoiceStrategyOptions = DEFAULT_WORKER_CHOICE_STRATEGY_OPTIONS
Returns WorkerChoiceStrategyContext<Worker, Data, Response>
Private
Readonly
workerPrivate
workerThe worker choice strategy.
Gets the worker choice strategy in the context required statistics.
- -The required statistics.
The required statistics.
+Removes a worker node key from the worker choice strategy in the context.
- -true
if the removal is successful, false
otherwise.
Removes the worker node key from the worker choice strategy in the context.
The key of the worker node.
true
if the removal is successful, false
otherwise.
Sets the worker choice strategies in the context options.
The worker choice strategy options.
Sets the worker choice strategy to use in the context.
The worker choice strategy context.