X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=87a793a4c3484ede4773671cb40352e188d6c5c6;hb=396360a789e4806699533ddf899c79dc2b7ae868;hp=8f75212a3fdac537f4b434d15bcc63130bd4d95e;hpb=3bd6a82e43e11294af91bbd19647944ac740169e;p=poolifier.git
diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html
index 8f75212a..87a793a4 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. The worker choice strategy.Type Parameters
-
@@ -66,15 +66,15 @@
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>
Properties
-Private
Readonly
worker
-Private
worker
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.
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.