X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedClusterPool.html;h=772f022223b7f329c2127b5956785e93a00f47b6;hb=6c525543a7ed67a926b7c1f4bf98985aaad1f088;hp=4c7ab507cb1ee06519b3347a8a7c8ed47bfb9fc3;hpb=ec06e4dd01adf7aa4bab470c59da42c19d863d0b;p=poolifier.git diff --git a/docs/classes/FixedClusterPool.html b/docs/classes/FixedClusterPool.html index 4c7ab507..772f0222 100644 --- a/docs/classes/FixedClusterPool.html +++ b/docs/classes/FixedClusterPool.html @@ -38,13 +38,13 @@

Hierarchy

+
  • Defined in src/pools/cluster/fixed.ts:39
  • @@ -124,43 +124,48 @@

    Options for this fixed cluster pool.

    Returns FixedClusterPool<Data, Response>

    +
  • 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>> = ...
    @@ -171,26 +176,26 @@

    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

    @@ -198,23 +203,25 @@
    +
  • Defined in src/pools/cluster/fixed.ts:109
  • +
  • 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:327
  • Returns void

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

    +
  • Defined in src/pools/abstract-pool.ts:316
  • +
  • Defined in src/pools/abstract-pool.ts:360
  • +
  • Defined in src/pools/abstract-pool.ts:422
  • +
  • Defined in src/pools/cluster/fixed.ts:88
  • +
  • Defined in src/pools/abstract-pool.ts:279
  • Returns void

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

    +
  • Defined in src/pools/abstract-pool.ts:248
  • +
  • Defined in src/pools/abstract-pool.ts:241
  • +
  • Defined in src/pools/abstract-pool.ts:236
  • +
  • Defined in src/pools/cluster/fixed.ts:64
  • +
  • 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:445