X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=4722f9aedd93bfe7aa4a9dba3a9a952db4d553e3;hb=004a8816ae9b52388de246a9c7a5184a73915ad6;hp=3c24e8644ba715f3a457982501cc4a4e70953a52;hpb=811dc01fd8bb1b23cc3e6e72f7fbc82cc8f473ae;p=poolifier.git diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html index 3c24e864..4722f9ae 100644 --- a/docs/classes/WorkerChoiceStrategyContext.html +++ b/docs/classes/WorkerChoiceStrategyContext.html @@ -17,28 +17,32 @@
Type of worker.
-Type of data sent to the worker. This can only be serializable data.
-Type of execution response. This can only be serializable data.
-Worker choice strategy context constructor.
The pool instance.
-The worker choice strategy.
-The worker choice strategy options.
-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.
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 worker choice strategy in the context required statistics.
+Gets the worker choice strategy task statistics in the context.
The required statistics.
-The task statistics.
+ +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.
true
if the update is successful, false
otherwise.
Generated using TypeDoc
The worker choice strategy context.
-