X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=08b4a84fd146fed6d1e477aad60f2be9baad727a;hb=120c7852afd1ce4c01bd7e70cd14eeeedda8c1e3;hp=a98f35b22064f9cb6205c01f5d0b3c83c69469ea;hpb=fab6d3b5750d884b29e5e7057628a06d88d0df8a;p=poolifier.git diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html index a98f35b2..08b4a84f 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
Readonly
workerPrivate
Readonly
workerPrivate
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 worker choice strategy in the context required statistics.
+Gets the strategy policy in the context.
The required statistics.
-The strategy policy.
+ +Gets the worker choice strategy task statistics requirements in the context.
+The task statistics requirements.
+ +Removes a worker node key from the worker choice strategy in the context.
+Removes the worker node key from the worker choice strategy in the context.
The key of the worker node.
-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.
-Generated using TypeDoc
The worker choice strategy context.
-