X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=1ee1667d224131385c2f1fc49a0d26dc1861c2fa;hb=ef41a6e6f04e66c9732334e673758b2f4e4b0730;hp=ee059494f1275653f6a25f47b0bf878ab7537d4f;hpb=e7339cfd46bfe4600187ae2c6bd6c9e7f63e7052;p=poolifier.git diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html index ee059494..1ee1667d 100644 --- a/docs/classes/WorkerChoiceStrategyContext.html +++ b/docs/classes/WorkerChoiceStrategyContext.html @@ -31,14 +31,14 @@
  • Response = unknown

    -

    Type of response of execution. This can only be serializable data.

    +

    Type of execution response. This can only be serializable data.

  • Hierarchy

    +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:24
  • @@ -51,13 +51,14 @@

    Properties

    Methods

    @@ -65,7 +66,7 @@

    Returns WorkerChoiceStrategyContext<Worker, Data, Response>

    +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:41
  • Properties

    workerChoiceStrategies: Map<"ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN", IWorkerChoiceStrategy>
    -
    - -
    workerChoiceStrategyType: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" = WorkerChoiceStrategies.ROUND_ROBIN
    +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:29
  • +
    + +
    workerChoiceStrategy: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" = WorkerChoiceStrategies.ROUND_ROBIN

    The worker choice strategy.

    +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:43
  • Methods

    @@ -123,7 +124,7 @@

    Returns number

    +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:109
  • +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:82
  • Returns boolean

    +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:123
  • +
    + +

    Returns void

    +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:95