X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FDynamicClusterPool.html;h=2c08b7ebb719b05ee671cb3e58b23748cf6137a1;hb=da631e977b488fb76cc1881c991a6fda8d8bb6e0;hp=74152e5af3423034cb6a4b3114eb91bd522d9455;hpb=564ec16ceddb03324d81bfa385669cc188da03fd;p=poolifier.git diff --git a/docs/classes/DynamicClusterPool.html b/docs/classes/DynamicClusterPool.html index 74152e5a..2c08b7eb 100644 --- a/docs/classes/DynamicClusterPool.html +++ b/docs/classes/DynamicClusterPool.html @@ -1,4 +1,4 @@ -DynamicClusterPool | poolifier - v2.7.5
+DynamicClusterPool | poolifier - v3.0.4
  • Preparing search index...
  • -
  • The search index is not available
poolifier - v2.7.5
+
  • The search index is not available
  • poolifier - v3.0.4
    @@ -45,7 +45,7 @@ When the maximum number of workers is reached and workers are busy, an event is
    • DynamicClusterPool
    +
  • Defined in src/pools/cluster/dynamic.ts:16
  • @@ -92,6 +92,7 @@ When the maximum number of workers is reached and workers are busy, an event is destroyWorkerNode enableTasksQueue execute +flagWorkerNodeAsNotReady flushTasksQueue getWorkerInfo hasTaskFunction @@ -111,7 +112,7 @@ When the maximum number of workers is reached and workers are busy, an event is setWorkerChoiceStrategyOptions setupHook start -workerListener +workerMessageListener

    Constructors

    @@ -156,7 +157,7 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/cluster/dynamic.ts:28
  • Properties

    @@ -178,7 +179,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
    +
  • Defined in src/pools/abstract-pool.ts:74
  • filePath: string
    @@ -187,7 +188,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
    +
  • Defined in src/pools/abstract-pool.ts:129
  • max: number
    @@ -196,7 +197,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
    +
  • Defined in src/pools/cluster/dynamic.ts:30
  • numberOfWorkers: number
    @@ -205,7 +206,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
    +
  • Defined in src/pools/abstract-pool.ts:128
  • @@ -214,7 +215,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
    +
  • Defined in src/pools/cluster/fixed.ts:47
  • promiseResponseMap: Map<string, PromiseResponseWrapper<Response>> = ...
    @@ -228,7 +229,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
    +
  • Defined in src/pools/abstract-pool.ts:88
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>
    @@ -237,7 +238,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
    +
  • Defined in src/pools/abstract-pool.ts:94
  • workerNodes: IWorkerNode<Worker, Data>[] = []
    @@ -246,7 +247,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
    +
  • Defined in src/pools/abstract-pool.ts:71
  • Accessors

    @@ -261,7 +262,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
    +
  • Defined in src/pools/cluster/dynamic.ts:44
    • @@ -274,7 +275,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
    +
  • Defined in src/pools/abstract-pool.ts:659
    • @@ -286,7 +287,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
    +
  • Defined in src/pools/abstract-pool.ts:272
    • @@ -298,7 +299,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
    +
  • Defined in src/pools/abstract-pool.ts:485
    • @@ -310,7 +311,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
    +
  • Defined in src/pools/abstract-pool.ts:478
    • @@ -322,7 +323,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
    +
  • Defined in src/pools/abstract-pool.ts:430
    • @@ -335,7 +336,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
    +
  • Defined in src/pools/cluster/dynamic.ts:39
    • @@ -348,7 +349,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
    +
  • Defined in src/pools/abstract-pool.ts:447
    • @@ -360,7 +361,7 @@ The async tracking tooling identifier is poolifier:<PoolType>-<Wo
    +
  • Defined in src/pools/cluster/fixed.ts:135
  • Methods

    @@ -393,7 +394,7 @@ If a task function with the same name already exists, it will be overwritten.

    +
  • Defined in src/pools/abstract-pool.ts:804
  • +
  • Defined in src/pools/abstract-pool.ts:1041
  • +
  • Defined in src/pools/abstract-pool.ts:1354
  • +
  • Defined in src/pools/abstract-pool.ts:1011
  • +
  • Defined in src/pools/abstract-pool.ts:1258
  • +
  • Defined in src/pools/abstract-pool.ts:1214
  • +
  • Defined in src/pools/cluster/fixed.ts:125
  • +
  • Defined in src/pools/cluster/fixed.ts:117
  • +
  • Defined in src/pools/abstract-pool.ts:948
  • +
  • Defined in src/pools/cluster/fixed.ts:63
  • +
  • Defined in src/pools/abstract-pool.ts:563
  • +
  • Defined in src/pools/abstract-pool.ts:878
  • +
    + +
    +
  • Defined in src/pools/abstract-pool.ts:1690
  • +
  • Defined in src/pools/abstract-pool.ts:1602
  • +
  • Defined in src/pools/abstract-pool.ts:791
  • +
  • Defined in src/pools/abstract-pool.ts:1648
  • +
  • Defined in src/pools/abstract-pool.ts:675
  • +
  • Defined in src/pools/cluster/fixed.ts:58
  • +
  • Defined in src/pools/abstract-pool.ts:843
  • +
  • Defined in src/pools/cluster/fixed.ts:109
  • +
  • Defined in src/pools/cluster/fixed.ts:101
  • +
  • Defined in src/pools/abstract-pool.ts:827
  • +
  • Defined in src/pools/abstract-pool.ts:959
  • +
  • Defined in src/pools/cluster/fixed.ts:94
  • +
  • Defined in src/pools/cluster/fixed.ts:83
  • +
  • Defined in src/pools/abstract-pool.ts:856
  • +
  • Defined in src/pools/abstract-pool.ts:577
  • +
  • Defined in src/pools/abstract-pool.ts:530
  • +
  • Defined in src/pools/abstract-pool.ts:549
  • +
  • Defined in src/pools/cluster/fixed.ts:53
  • -
    - +
  • Defined in src/pools/abstract-pool.ts:932
  • +
    +
      - +
    • -

      This method is the listener registered for each worker message.

      -
      -

      Returns ((message) => void)

      The listener function to execute when a message is received from a worker.

      - -
        -
      • -
          -
        • (message): void
        • -
        • -

          This method is the listener registered for each worker message.

          +

          This method is the message listener registered on each worker.

          Parameters

          -

          Returns void

          The listener function to execute when a message is received from a worker.

          - -
      +

      Returns void

    +
  • Defined in src/pools/abstract-pool.ts:1516
  • @@ -1100,6 +1104,7 @@ Can be overridden.

  • destroyWorkerNode
  • enableTasksQueue
  • execute
  • +
  • flagWorkerNodeAsNotReady
  • flushTasksQueue
  • getWorkerInfo
  • hasTaskFunction
  • @@ -1119,9 +1124,9 @@ Can be overridden.

  • setWorkerChoiceStrategyOptions
  • setupHook
  • start
  • -
  • workerListener
  • +
  • workerMessageListener
  • Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file