X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=5e541fc8a8158197a294374ef14de034d00bef1d;hb=afa30fd0dd5bbc5d305cc30be663966a449efc08;hp=e6cd1011a5daddd48551828721f39d7b062cc92d;hpb=184d530faf6acf70e116cb4a3fb831938b73e2c0;p=poolifier.git diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html index e6cd1011..5e541fc8 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.
-