X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=7c222de2f590c5160c54354d1a0f2dca89c46fb1;hb=3abeb14de6a5845deeb027ccc69c3feeec8f4a3a;hp=d94f20b1197385af64a8e1cf35c394e481e5b47c;hpb=7e36fa9f0f844e3e60f0c22de3e28665dd8cc9d1;p=poolifier.git diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html index d94f20b1..7c222de2 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 worker choice strategy.
-The worker choice strategy options.
-Private
Readonly
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.
- -The required statistics.
+Gets the strategy policy in the context.
The strategy policy.
+ +Removes a worker node key from the worker choice strategy in the context.
+Gets the worker choice strategy task statistics requirements in the context.
+The task statistics requirements.
-true
if the removal is successful, false
otherwise.
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.
-