X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=a63d694842220aa6d1bed5b35fbaae226a87a54b;hb=bc316fd447654e93fcf541bac6ee85e612fe0205;hp=52408c818b6e53fd1dcc33d78f319df7e48796c5;hpb=efa4dae64207a27154132ed0de1fe9259e7c7a03;p=poolifier.git diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html index 52408c81..a63d6948 100644 --- a/docs/classes/WorkerChoiceStrategyContext.html +++ b/docs/classes/WorkerChoiceStrategyContext.html @@ -1,40 +1,46 @@ -
Type of worker.
-Type of data sent to the worker. This can only be structured-cloneable 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
optsThe worker choice strategy options.
-Private
retriesThe number of times the worker choice strategy in the context has been retried.
-Private
Readonly
workerPrivate
workerThe worker choice strategy.
-Executes the worker choice strategy in the context algorithm.
+The worker choice strategy context.
+Type of worker.
+Type of data sent to the worker. This can only be structured-cloneable data.
+Type of execution response. This can only be structured-cloneable data.
+Worker choice strategy context constructor.
+The pool instance.
+The worker choice strategy.
+Optional
opts: WorkerChoiceStrategyOptionsThe worker choice strategy options.
+Private
Readonly
retriesThe maximum number of worker choice strategy execution retries.
+The number of worker choice strategy execution retries.
+Private
Readonly
workerThe worker choice strategy instances registered in the context.
+Private
workerThe worker choice strategy.
+Executes the worker choice strategy in the context algorithm.
The key of the worker node.
-https://nodejs.org/api/errors.html#class-error If after configured retries the worker node key is null or undefined .
-Gets the strategy policy in the context.
+https://nodejs.org/api/errors.html#class-error If after computed retries the worker node key is null or undefined.
+Private
executeExecutes the given worker choice strategy.
+The worker choice strategy.
+The key of the worker node.
+https://nodejs.org/api/errors.html#class-error If after computed retries the worker node key is null or undefined.
+Gets the strategy policy in the context.
The strategy policy.
-Gets the worker choice strategy in the context task statistics requirements.
+Gets the worker choice strategy in the context task statistics requirements.
The task statistics requirements.
-Removes the worker node key from the worker choice strategy in the context.
-The worker node key.
+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
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.
-