X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=2f247dc3e3b1b6c5b64a1265d3e1af53ec3387d3;hb=afa30fd0dd5bbc5d305cc30be663966a449efc08;hp=23a45acc624ec801c8e0e3458f58a984821e62da;hpb=f8350486e75b15ed17249cda3d0a55ee807a6a9f;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index 23a45acc..2f247dc3 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -17,13 +17,14 @@

Interface WorkerChoiceStrategyOptions

Worker choice strategy options.

-
+ +

Hierarchy

+
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:41
  • @@ -31,45 +32,48 @@

    Properties

    - +
    medRunTime?: boolean

    Use tasks median runtime instead of average runtime.

    - -

    Default Value

    false

    +
    +
    +

    Default Value

    false

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:47
  • - +
    medWaitTime?: boolean

    Use tasks median wait time instead of average runtime.

    - -

    Default Value

    false

    +
    +
    +

    Default Value

    false

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:53
  • - +
    weights?: Record<number, number>

    Worker weights to use for weighted round robin worker selection strategy. Weight is the tasks maximum average or median runtime in milliseconds.

    - -

    Default Value

    Computed worker weights automatically given the CPU performance.

    +
    +
    +

    Default Value

    Computed worker weights automatically given the CPU performance.

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:60
  • +
  • medRunTime
  • +
  • medWaitTime
  • +
  • weights
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • Task
  • +
  • TaskStatistics
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file