X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=de5db03acff263a36a519dcd3ac9e33f055248bd;hb=b39af64a9d234717930711a7f04959b97e8acd33;hp=a08fc870e372fb86f670cb2af493cc2647ab84b4;hpb=70353024c44987c467dadcec306c699ce4ae1f06;p=poolifier.git diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html index a08fc870..de5db03a 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 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
Readonly
workerPrivate
workerPrivate
workerThe worker choice strategy.
-Executes the worker choice strategy algorithm in the context.
- -https://nodejs.org/api/errors.html#class-error If the worker node key is null or undefined.
+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.
+The strategy policy.
+ +Gets the worker choice strategy in the context required statistics.
+Gets the worker choice strategy in the context task statistics requirements.
The required statistics.
-The task statistics requirements.
+ +Removes the worker node key from the worker choice strategy in the context.
The key of the worker node.
+The worker node key.
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.
Updates the worker node key in the worker choice strategy internals in the context.
+Updates the worker node key in the worker choice strategy in the context internals.
true
if the update is successful, false
otherwise.
Generated using TypeDoc
Generated using TypeDoc
\ No newline at end of file
The worker choice strategy context.
-