X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedClusterPool.html;h=88187ec5cc7c911565872616829dcdaaf96fdca8;hb=027063571693f211b35c8851566a063201adb9af;hp=5680e5ebfe5a5f3f34f1986a3d652760e6915f1d;hpb=42db2d3372ac49ab00dd1889378238b7a78ac4ce;p=poolifier.git diff --git a/docs/classes/FixedClusterPool.html b/docs/classes/FixedClusterPool.html index 5680e5eb..88187ec5 100644 --- a/docs/classes/FixedClusterPool.html +++ b/docs/classes/FixedClusterPool.html @@ -38,13 +38,13 @@

Hierarchy

+
  • Defined in src/pools/cluster/fixed.ts:39
  • @@ -66,8 +66,8 @@

    Accessors

    -
    +
  • Defined in src/pools/cluster/fixed.ts:50
  • Properties

    emitter?: PoolEmitter
    -
    -

    Inherit Doc

    +
  • 'full': Emitted when the pool is dynamic and full.
  • +
  • 'busy': Emitted when the pool is busy.
  • + +
    filePath: string

    Path to the worker-file.

    +
  • Defined in src/pools/abstract-pool.ts:76
  • numberOfWorkers: number

    Number of workers that this pool should manage.

    +
  • Defined in src/pools/abstract-pool.ts:75
  • opts: ClusterPoolOptions = {}

    Options for this fixed cluster pool.

    +
  • Defined in src/pools/cluster/fixed.ts:53
  • -
    promiseResponseMap: Map<string, PromiseResponseWrapper<Worker, Response>> = ...
    +
    promiseResponseMap: Map<string, PromiseResponseWrapper<Worker, Response>> = ...

    The execution response promise map.

    When we receive a message from the worker, we get a map entry with the promise resolve/reject bound to the message id.

    +
  • Defined in src/pools/abstract-pool.ts:51
  • -
    workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>
    +
    workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>

    Worker choice strategy context referencing a worker choice algorithm implementation.

    Default to a round robin algorithm.

    +
  • Defined in src/pools/abstract-pool.ts:61
  • -
    workerNodes: WorkerNode<Worker, Data>[] = []
    -
    -

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:38
  • Accessors

    -
    - -
    +
    + +
    +
  • Defined in src/pools/cluster/fixed.ts:104
  • +
  • Defined in src/pools/abstract-pool.ts:186
  • +
  • Defined in src/pools/abstract-pool.ts:176
  • +
  • Defined in src/pools/cluster/fixed.ts:99
  • Methods

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:335
  • Returns void

    +
  • Defined in src/pools/cluster/fixed.ts:93
  • Returns void

    +
  • Defined in src/pools/abstract-pool.ts:324
  • +
  • Defined in src/pools/abstract-pool.ts:368
  • +
  • Defined in src/pools/abstract-pool.ts:430
  • +
  • Defined in src/pools/cluster/fixed.ts:88
  • -
    - -
    +
    + +

    Returns void

    +
  • Defined in src/pools/cluster/fixed.ts:69
  • Returns Promise<Response>

    +
  • Defined in src/pools/abstract-pool.ts:256
  • +
  • Defined in src/pools/abstract-pool.ts:249
  • +
  • Defined in src/pools/abstract-pool.ts:244
  • -
    - -
    +
    + +
    +
  • Defined in src/pools/cluster/fixed.ts:80
  • Returns void

    +
  • Defined in src/pools/cluster/fixed.ts:75
  • Returns void

    +
  • Defined in src/pools/abstract-pool.ts:209
  • +
  • Defined in src/pools/cluster/fixed.ts:59
  • +
  • Defined in src/pools/abstract-pool.ts:453