X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=153e6513a232970458cf160be99a84ac55a12c26;hb=da66e34cda2cbcb3a94865d24696c668f50a1437;hp=89a3fc10cd7806960b023b988af2b738ee9db8cf;hpb=6c525543a7ed67a926b7c1f4bf98985aaad1f088;p=poolifier.git diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html index 89a3fc10..153e6513 100644 --- a/docs/interfaces/IWorkerChoiceStrategy.html +++ b/docs/interfaces/IWorkerChoiceStrategy.html @@ -1,160 +1,220 @@ -
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.
Readonly
removeRemoves a worker node key from strategy internals.
+Removes the worker node key from strategy internals.
The worker node key.
-Readonly
requiredRequired tasks usage statistics.
-true
if the worker node key is removed, false
otherwise.
Readonly
resetResets strategy internals (counters, statistics, etc.).
+Resets 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.
Generated using TypeDoc
Generated using TypeDoc
+ \ No newline at end of file
Worker choice strategy interface.
-