X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=0ee5e696aa35f21abe3105a014d768fdb3f7997c;hb=660689f017615c233020793967822c31975e5aa0;hp=e393f5cbc6d899624d14bb4a81c6b8380de01516;hpb=f63918da6f3fc77cc7f98e4d43e3f37955140468;p=poolifier.git diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html index e393f5cb..0ee5e696 100644 --- a/docs/classes/WorkerChoiceStrategyContext.html +++ b/docs/classes/WorkerChoiceStrategyContext.html @@ -1,13 +1,13 @@ -
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 worker choice strategy.
-The worker choice strategy options.
-Private
Readonly
workerPrivate
retriesThe number of times the worker choice strategy in the context has been retried.
+Private
Readonly
workerPrivate
workerThe worker choice strategy.
-Executes the worker choice strategy algorithm in the context.
- -The key of the worker node.
+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.
- -The required statistics.
+Gets the strategy policy in the context.
The strategy policy.
+ +Removes a worker node key from the worker choice strategy in the context.
+Gets the worker choice strategy in the context task statistics requirements.
+The task statistics requirements.
-true
if the removal is successful, false
otherwise.
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.
-