X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=7c5bb6a7ece1506ef0700a72fb31829effb2f17a;hb=e9fc6983e78e6e1ca6b29c5390ae66320cdf668a;hp=868c18d4736042ef56009ec5e541c274b07fee89;hpb=7daf8b1ee6ee28ba8c39c63067cf7071f8638177;p=poolifier.git diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html index 868c18d4..7c5bb6a7 100644 --- a/docs/classes/WorkerChoiceStrategyContext.html +++ b/docs/classes/WorkerChoiceStrategyContext.html @@ -1,354 +1,44 @@ -
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.
-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.
-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
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 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.
-The task statistics requirements.
- -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
Worker choice strategy context constructor.
+The pool instance.
+The worker choice strategy.
+Optional
opts: WorkerChoiceStrategyOptionsThe worker choice strategy options.
+Private
Readonly
retriesThe 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 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.
+The task statistics requirements.
+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.
-