X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=ee534933421f1ec65088af156cb87c8199c1567f;hb=c2d2417cb80d8c14637fe6a19d58bcf5ce18ae98;hp=1447c0edf7cf152f512a697a4b0f8796f7200a77;hpb=dea288f11483ea6c15807b20e4c621483c7fa5af;p=poolifier.git diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html index 1447c0ed..ee534933 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.
- -@node/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 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.
+ +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.
-