X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=aa2ba76f1937fd0f47e97b57eaf550be8a610b9e;hb=86de0a2d983a71579980758f52cf4c7f1c16abf8;hp=c85c5110c79a84adc94e0aea623f763e0fd44f4f;hpb=a15339d10554e3130fa1d8957163cb29a8eb2c41;p=poolifier.git diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html index c85c5110..aa2ba76f 100644 --- a/docs/interfaces/IWorkerChoiceStrategy.html +++ b/docs/interfaces/IWorkerChoiceStrategy.html @@ -1,256 +1,25 @@ -
Internal
Readonly
chooseChooses a worker node in the pool and returns its key.
-The worker node key.
- -Readonly
removeRemoves the worker node key from strategy internals.
-The worker node key.
-true
if the worker node key is removed, false
otherwise.
Readonly
resetResets strategy internals.
-true
if the reset is successful, false
otherwise.
Readonly
setSets the worker choice strategy options.
-The worker choice strategy options.
-Readonly
strategyStrategy policy.
-Readonly
taskTasks statistics requirements.
-Readonly
updateUpdates the worker node key strategy internals.
-true
if the update is successful, false
otherwise.
Generated using TypeDoc
Internal
Worker choice strategy interface.
+Readonly
chooseChooses a worker node in the pool and returns its key.
+If no worker nodes are not eligible, undefined
is returned.
+If undefined
is returned, the caller retry.
The worker node key or undefined
.
Readonly
removeRemoves the worker node key from strategy internals.
+The worker node key.
+true
if the worker node key is removed, false
otherwise.
Readonly
resetResets strategy internals.
+true
if the reset is successful, false
otherwise.
Readonly
setSets the worker choice strategy options.
+The worker choice strategy options.
+Readonly
strategyStrategy policy.
+Readonly
taskTasks statistics requirements.
+Readonly
updateUpdates the worker node key strategy internals. +This is called after a task has been executed on a worker node.
+true
if the update is successful, false
otherwise.
Generated using TypeDoc
Worker choice strategy interface.
-