X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=2a26aa92168097da72bc97828e35920e02a41dc0;hb=cd424e3162f5ae6be04dc156cdc8562dae16c33f;hp=ac6b5799b1d5732c260468ff09e1479af8ddc378;hpb=3eed67feea0f527e3ee31a6ebb1063883eec3855;p=poolifier.git diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html index ac6b5799..2a26aa92 100644 --- a/docs/interfaces/IWorkerChoiceStrategy.html +++ b/docs/interfaces/IWorkerChoiceStrategy.html @@ -1,4 +1,4 @@ -IWorkerChoiceStrategy | poolifier - v2.6.45
+IWorkerChoiceStrategy | poolifier - v2.7.4
  • Preparing search index...
  • -
  • The search index is not available
poolifier - v2.6.45
+
  • The search index is not available
  • poolifier - v2.7.4
    @@ -24,7 +24,7 @@
    • IWorkerChoiceStrategy
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:168
  • @@ -53,13 +53,14 @@
  • (): undefined | number
  • Chooses a worker node in the pool and returns its key. -If the worker node is not eligible, undefined is returned.

    +If no worker nodes are not eligible, undefined is returned. +If undefined is returned, the caller retry.

    Returns undefined | number

    The worker node key or undefined.

  • +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:197
  • remove: ((workerNodeKey) => boolean)
    @@ -84,7 +85,7 @@ If the worker node is not eligible, undefined is returned.

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:204
  • reset: (() => boolean)
    @@ -101,7 +102,7 @@ If the worker node is not eligible, undefined is returned.

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:182
  • setOptions: ((opts) => void)
    @@ -125,7 +126,7 @@ If the worker node is not eligible, undefined is returned.

    Returns void

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:210
  • strategyPolicy: StrategyPolicy
    @@ -133,7 +134,7 @@ If the worker node is not eligible, undefined is returned.

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:172
  • taskStatisticsRequirements: TaskStatisticsRequirements
    @@ -141,7 +142,7 @@ If the worker node is not eligible, undefined is returned.

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:176
  • update: ((workerNodeKey) => boolean)
    @@ -152,7 +153,8 @@ If the worker node is not eligible, undefined is returned.

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:189
  • Generated using TypeDoc