X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=dd9ae8d096761f959a17c8ca792f9d9ffec6a92b;hb=410724041bab556be1385c56f9a32e5030f6f2cf;hp=c95ecd3e4dabd72c525d8a61fbaa911ec1a44f4c;hpb=30c799e98a2d088cbca774d347983a04ebc5f5a5;p=poolifier.git diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html index c95ecd3e..dd9ae8d0 100644 --- a/docs/interfaces/IWorkerChoiceStrategy.html +++ b/docs/interfaces/IWorkerChoiceStrategy.html @@ -1,13 +1,13 @@ -IWorkerChoiceStrategy | poolifier - v2.6.32
+IWorkerChoiceStrategy | poolifier - v2.7.3
-
+
  • The search index is not available
  • poolifier - v2.7.3 +
    @@ -24,15 +24,15 @@
    • IWorkerChoiceStrategy
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:168
  • - +

    Properties

    -
    choose +
    choose remove reset setOptions @@ -43,7 +43,7 @@

    Properties

    - +
    choose: (() => undefined | number)

    Type declaration

    @@ -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
  • @@ -191,68 +193,30 @@ If the worker node is not eligible, undefined is returned.

  • taskStatisticsRequirements
  • update
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file