X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedClusterPool.html;h=7740bbe77bb1964fa9844cde6cc0c560fc373bb6;hb=c065162cbd0458f984708314dcf5e80c7777077a;hp=da5465cd854cb05395bc876a1b025c5deb21062e;hpb=d33d2d2fed43d102479c38cc28b496872665a90d;p=poolifier.git diff --git a/docs/classes/FixedClusterPool.html b/docs/classes/FixedClusterPool.html index da5465cd..7740bbe7 100644 --- a/docs/classes/FixedClusterPool.html +++ b/docs/classes/FixedClusterPool.html @@ -1,4 +1,4 @@ -FixedClusterPool | poolifier
+FixedClusterPool | poolifier - v2.6.18
  • Preparing search index...
  • -
  • The search index is not available
poolifier
+
  • The search index is not available
  • poolifier - v2.6.18
    @@ -80,6 +82,7 @@
    +
  • Defined in src/pools/cluster/fixed.ts:44
  • Properties

    @@ -143,8 +146,9 @@

    Emitter on which events can be listened to.

    Events that can currently be listened to:

      -
    • 'full': Emitted when the pool is dynamic and full.
    • -
    • 'busy': Emitted when the pool is busy.
    • +
    • 'full': Emitted when the pool is dynamic and the number of workers created has reached the maximum size expected.
    • +
    • 'ready': Emitted when the number of workers created in the pool has reached the minimum size expected and are ready.
    • +
    • 'busy': Emitted when the number of workers created in the pool has reached the maximum size expected and are executing at least one task.
    • 'error': Emitted when an uncaught error occurs.
    • 'taskError': Emitted when an error occurs while executing a task.
    @@ -152,7 +156,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:65
  • filePath: string
    @@ -161,7 +165,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:107
  • numberOfWorkers: number
    @@ -170,7 +174,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:106
  • @@ -179,7 +183,7 @@
    +
  • Defined in src/pools/cluster/fixed.ts:47
  • promiseResponseMap: Map<string, PromiseResponseWrapper<Worker, Response>> = ...
    @@ -193,7 +197,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:75
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>
    @@ -202,16 +206,16 @@
    +
  • Defined in src/pools/abstract-pool.ts:83
  • -
    workerNodes: WorkerNode<Worker, Data>[] = []
    +
    workerNodes: IWorkerNode<Worker, Data>[] = []

    Pool worker nodes.

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

    @@ -226,7 +230,7 @@
    +
  • Defined in src/pools/cluster/fixed.ts:102
  • +
  • Defined in src/pools/abstract-pool.ts:592
  • +
  • Defined in src/pools/abstract-pool.ts:295
  • +
  • Defined in src/pools/cluster/fixed.ts:97
  • +
  • Defined in src/pools/cluster/fixed.ts:92
  • +
    + +
    +
  • Defined in src/pools/cluster/fixed.ts:82
  • +
    + +
      +
    • get utilization(): number
    • +
    • +

      Gets the approximate pool utilization.

      +
      +

      Returns number

      The pool utilization.

      + +
    +
  • Defined in src/pools/cluster/fixed.ts:87
  • Methods

    @@ -328,7 +354,7 @@ Can be overridden.

    +
  • Defined in src/pools/abstract-pool.ts:718
  • +
  • Defined in src/pools/abstract-pool.ts:944
  • +
  • Defined in src/pools/abstract-pool.ts:697
  • +
    + +
    +
  • Defined in src/pools/abstract-pool.ts:896
  • +
  • Defined in src/pools/abstract-pool.ts:857
  • +
  • Defined in src/pools/cluster/fixed.ts:77
  • +
  • Defined in src/pools/abstract-pool.ts:652
  • +
  • Defined in src/pools/cluster/fixed.ts:63
  • +
  • Defined in src/pools/abstract-pool.ts:557
  • +
  • Defined in src/pools/abstract-pool.ts:617
  • +
  • Defined in src/pools/abstract-pool.ts:608
  • +
  • Defined in src/pools/cluster/fixed.ts:58
  • +
  • Defined in src/pools/cluster/fixed.ts:72
  • +
  • Defined in src/pools/abstract-pool.ts:569
  • +
  • Defined in src/pools/abstract-pool.ts:527
  • +
  • Defined in src/pools/abstract-pool.ts:546
  • +
  • Defined in src/pools/cluster/fixed.ts:53
  • +
  • Defined in src/pools/abstract-pool.ts:995