X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=7cb5e7b32621d3d51e82b8806cc003c2dc518ea9;hb=5d59ef8fc3bb4082501d2f84c14408a2b7fcfacd;hp=78ca4d6547318d39fb68daf20067cf8fda18a19b;hpb=cda623c57bf49a82b898aadf180a68130df34507;p=poolifier.git diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html index 78ca4d65..7cb5e7b3 100644 --- a/docs/classes/WorkerChoiceStrategyContext.html +++ b/docs/classes/WorkerChoiceStrategyContext.html @@ -1,39 +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.
-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.
+Worker choice strategy context constructor.
+The pool instance.
The worker choice strategy.
-The worker choice strategy options.
-Private
optsThe worker choice strategy options.
-Private
Readonly
workerPrivate
workerThe worker choice strategy.
-Executes the worker choice strategy in the context algorithm.
+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.
-https://nodejs.org/api/errors.html#class-error If the maximum consecutive worker choice strategy executions has been reached.
-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.
+Sets the worker choice strategies in the context options.
-The worker choice strategy options.
-Sets the worker choice strategy to use in the context.
+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
Generated using TypeDoc
The worker choice strategy context.
-