X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=d3361e806cf1a8ab5d09ccdf7a1a98cc0d14801a;hb=6b272951b296a2ea26659e9a2fa81bdc6003407f;hp=0e08ef045f15988014d2dceb4837baf4623a864a;hpb=15e4d8f3cafe9f7412913b0e440921e813bdf3cd;p=poolifier.git diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html index 0e08ef04..d3361e80 100644 --- a/docs/classes/WorkerChoiceStrategyContext.html +++ b/docs/classes/WorkerChoiceStrategyContext.html @@ -17,28 +17,32 @@
Type of worker.
-Type of data sent to the worker. This can only be serializable data.
-Type of data sent to the worker. This can only be structured-cloneable data.
+Type of execution response. This can only be serializable data.
-Type of execution response. This can only be structured-cloneable data.
+Worker choice strategy context constructor.
The pool instance.
-The worker choice strategy.
-The worker choice strategy options.
-Private
Readonly
workerPrivate
Readonly
workerPrivate
workerPrivate
workerThe worker choice strategy.
-Executes the worker choice strategy algorithm in the context.
- -The key of the worker node.
The key of the worker node.
+ +https://nodejs.org/api/errors.html#class-error If the worker node key is null or undefined.
+Gets the worker choice strategy in the context required statistics.
+Gets the strategy policy in the context.
+The strategy policy.
-The required statistics.
+Gets the worker choice strategy task statistics requirements in the context.
The task statistics requirements.
+ +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 to set.
-Generated using TypeDoc
The worker choice strategy context.
-