X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FWorkerChoiceStrategyContext.html;h=9bbddac144416fc092323b1fd930d9c2897284e7;hb=2a6631992868d900762f62e4c228dce4e4ee549a;hp=8371a7b94139d6020d84600c9ffdda3d1d861b6d;hpb=938d9c678aa8e70e5642feffb90604cf25c993fe;p=poolifier.git diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html index 8371a7b9..9bbddac1 100644 --- a/docs/classes/WorkerChoiceStrategyContext.html +++ b/docs/classes/WorkerChoiceStrategyContext.html @@ -17,28 +17,32 @@

Class WorkerChoiceStrategyContext<Worker, Data, Response>

The worker choice strategy context.

-
-
+ +
+

Type Parameters

-
+

Type of execution response. This can only be structured-cloneable data.

+
+

Hierarchy

+
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:27
  • @@ -46,35 +50,37 @@

    Constructors

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

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

    The worker choice strategy.

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

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

    Returns boolean

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

    Returns void

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

    Returns void

    +
    +
    + +
    +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:153
  • +
  • constructor
  • +
  • workerChoiceStrategies
  • +
  • workerChoiceStrategy
  • +
  • execute
  • +
  • getStrategyPolicy
  • +
  • getTaskStatisticsRequirements
  • +
  • remove
  • +
  • setOptions
  • +
  • setWorkerChoiceStrategy
  • +
  • update
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • EventLoopUtilizationMeasurementStatistics
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MeasurementOptions
  • +
  • MeasurementStatistics
  • +
  • MeasurementStatisticsRequirements
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • StrategyPolicy
  • +
  • Task
  • +
  • TaskError
  • +
  • TaskPerformance
  • +
  • TaskStatistics
  • +
  • TaskStatisticsRequirements
  • +
  • TasksQueueOptions
  • +
  • ThreadPoolOptions
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerInfo
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • WorkerStatistics
  • +
  • WorkerUsage
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • Measurement
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • Measurements
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • +
  • availableParallelism
  • Generated using TypeDoc

    \ No newline at end of file