X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=2a26aa92168097da72bc97828e35920e02a41dc0;hb=319addf4a9f2518b359899c5a8a0e341c9a4e648;hp=61f31b63411520d2ef6e2f8ee773f1a4bf239e62;hpb=341ec6db3b66173fd9314338b736fabb0639914b;p=poolifier.git diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html index 61f31b63..2a26aa92 100644 --- a/docs/interfaces/IWorkerChoiceStrategy.html +++ b/docs/interfaces/IWorkerChoiceStrategy.html @@ -1,13 +1,13 @@ -
Readonly
chooseReadonly
chooseThe worker node key or undefined
.
Readonly
removeundefined
is returned.
The worker node key.
-true
if the worker node key is removed, false
otherwise.
Readonly
resetundefined
is returned.
Readonly
setundefined
is returned.
The worker choice strategy options.
-Readonly
strategyundefined
is returned.
Readonly
taskundefined
is returned.
Readonly
updateundefined
is returned.
Updates the worker node key strategy internals.
+Updates the worker node key strategy internals. +This is called after a task has been executed on a worker node.
undefined
is returned.
Generated using TypeDoc
Chooses a worker node in the pool and returns its key. -If the worker node is not eligible,
+If no worker nodes are not eligible,undefined
is returned.undefined
is returned. +Ifundefined
is returned, the caller retry.