X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fvariables%2FWorkerChoiceStrategies.html;h=2a524dfbcf212c1270046fd29915facc981d0423;hb=f45a3823ad04902b4c446c7c7de55ca183041953;hp=8bdf47623f1de5293262109898e264e28b20fcf3;hpb=bb3f9b66fa2241864d31937eeced22caab83d17e;p=poolifier.git diff --git a/docs/variables/WorkerChoiceStrategies.html b/docs/variables/WorkerChoiceStrategies.html index 8bdf4762..2a524dfb 100644 --- a/docs/variables/WorkerChoiceStrategies.html +++ b/docs/variables/WorkerChoiceStrategies.html @@ -1,4 +1,4 @@ -WorkerChoiceStrategies | poolifier
+WorkerChoiceStrategies | poolifier
-
WorkerChoiceStrategies: Readonly<{
    FAIR_SHARE: "FAIR_SHARE";
    LESS_BUSY: "LESS_BUSY";
    LESS_USED: "LESS_USED";
    ROUND_ROBIN: "ROUND_ROBIN";
    WEIGHTED_ROUND_ROBIN: "WEIGHTED_ROUND_ROBIN";
}> = ...
+
WorkerChoiceStrategies: Readonly<{
    FAIR_SHARE: "FAIR_SHARE";
    INTERLEAVED_WEIGHTED_ROUND_ROBIN: "INTERLEAVED_WEIGHTED_ROUND_ROBIN";
    LEAST_BUSY: "LEAST_BUSY";
    LEAST_USED: "LEAST_USED";
    ROUND_ROBIN: "ROUND_ROBIN";
    WEIGHTED_ROUND_ROBIN: "WEIGHTED_ROUND_ROBIN";
}> = ...

Enumeration of worker choice strategies.

-
+
+

Type declaration

+
    +
  • +
    Readonly FAIR_SHARE: "FAIR_SHARE"
    +

    Fair share worker selection strategy.

    +
    +
  • +
  • +
    Readonly Experimental INTERLEAVED_WEIGHTED_ROUND_ROBIN: "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
    +

    Interleaved weighted round robin worker selection strategy.

    +
    +
  • +
  • +
    Readonly LEAST_BUSY: "LEAST_BUSY"
    +

    Least busy worker selection strategy.

    +
    +
  • +
  • +
    Readonly LEAST_USED: "LEAST_USED"
    +

    Least used worker selection strategy.

    +
    +
  • +
  • +
    Readonly ROUND_ROBIN: "ROUND_ROBIN"
    +

    Round robin worker selection strategy.

    +
    +
  • +
  • +
    Readonly WEIGHTED_ROUND_ROBIN: "WEIGHTED_ROUND_ROBIN"
    +

    Weighted round robin worker selection strategy.

    +
    +
+
+
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:4
  • +

    Theme

    +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • Task
  • +
  • TaskStatistics
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • ThreadPoolOptions
  • +
  • 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