X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=30628a8414be031296f1ad731ad69329ddadde16;hb=a25c335d7e5573a171fc96c445cb6092852b2c4a;hp=897083c575df4eaa0ccb7bea4dccae30a4200f1c;hpb=8d1797ad15cb2d87ac3c9904ce6df3db45c0c742;p=poolifier.git diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html index 897083c5..868c18d4 100644 --- a/docs/classes/WorkerChoiceStrategyContext.html +++ b/docs/classes/WorkerChoiceStrategyContext.html @@ -1,4 +1,4 @@ -
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
choiceThe number of times the worker choice strategy in the context has been retried.
+Private
optsThe 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.
+Executes the worker choice strategy in the context algorithm.
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 in the context task statistics requirements.
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.
-The worker node key.
+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.
-