X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=68054436202d8c229a0520001aeaa2722eec5814;hb=603ce450e1c02a53a06aff9e9ba5f3cdee24a3f2;hp=2fe3ca962cfc71ff20bf1b4ca1e2e09623541bb7;hpb=5dd39e0fba309bb3af0ca64aea5205f57dfe5d24;p=poolifier.git diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html index 2fe3ca96..68054436 100644 --- a/docs/interfaces/IWorkerChoiceStrategy.html +++ b/docs/interfaces/IWorkerChoiceStrategy.html @@ -1,4 +1,4 @@ -
Internal
Readonly
chooseChooses a worker node in the pool and returns its key.
+Chooses a worker node in the pool and returns its key.
+If the worker node is not eligible, undefined
is returned.
The worker node key.
-Readonly
removeThe worker node key.
-true
if the worker node key is removed, false
otherwise.
Readonly
requiredRequired tasks usage statistics.
-Readonly
resetResets strategy internals.
true
if the reset is successful, false
otherwise.
Readonly
setThe worker choice strategy options.
-Readonly
strategyStrategy policy.
+Readonly
taskTasks statistics requirements.
+Readonly
updatetrue
if the update is successful, false
otherwise.
Generated using TypeDoc
Worker choice strategy interface.
-