X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=635a992ca778c0a88a7a92232ab5d8dea6cbd056;hb=c550f291145b17511037ef94aa6f5cbbd3868751;hp=7f67cf5af6f39c89468a2ff4d4e837116ab4042e;hpb=65ec4e64a4690b019d3ef86c97aa7182b715f539;p=poolifier.git diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html index 7f67cf5a..635a992c 100644 --- a/docs/classes/WorkerChoiceStrategyContext.html +++ b/docs/classes/WorkerChoiceStrategyContext.html @@ -1,13 +1,13 @@ -
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.
+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 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 in the context task statistics requirements.
+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.
-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.
-Generated using TypeDoc
Generated using TypeDoc
+ \ No newline at end of file
The worker choice strategy context.
-