X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=a3cebdf6cfb17ea94ced4e2522f5be53b6445bbc;hb=f8b3d84c1c95773a1e18d2c025d89d73c4f2ab15;hp=d1245330f9b4d18018fa512e5055d37494ff0c50;hpb=222387cba569774821d225147ac6f35f4f1bc696;p=poolifier.git diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html index d1245330..a3cebdf6 100644 --- a/docs/classes/WorkerChoiceStrategyContext.html +++ b/docs/classes/WorkerChoiceStrategyContext.html @@ -1,333 +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
Readonly
workerPrivate
workerThe worker choice strategy.
-Executes the worker choice strategy algorithm in the context.
-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 task statistics requirements in the context.
-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: InternalWorkerChoiceStrategyOptionsThe worker choice strategy options.
+Private
Optional
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 after configured 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 configured 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 pool instance.
+Optional
opts: InternalWorkerChoiceStrategyOptionsThe 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.
-