X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedThreadPool.html;h=157e4a349198bab2fc77e5e7a406a3378e5b1135;hb=58a06a6cab5a4b2e3f66b692a2a517741c3c090a;hp=b23ee1e776d8d42d0b617c4d02f17ab847856a59;hpb=76aa2b0f39bd376383f2fdc79046328693719590;p=poolifier.git diff --git a/docs/classes/FixedThreadPool.html b/docs/classes/FixedThreadPool.html index b23ee1e7..157e4a34 100644 --- a/docs/classes/FixedThreadPool.html +++ b/docs/classes/FixedThreadPool.html @@ -1,4 +1,4 @@ -FixedThreadPool | poolifier
+FixedThreadPool | poolifier - v2.6.15
  • Preparing search index...
  • -
  • The search index is not available
poolifier
+
  • The search index is not available
  • poolifier - v2.6.15
    @@ -80,6 +82,7 @@
    +
  • Defined in src/pools/thread/fixed.ts:43
  • 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:63
  • filePath: string
    @@ -161,7 +165,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:105
  • numberOfWorkers: number
    @@ -170,7 +174,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:104
  • @@ -179,7 +183,7 @@
    +
  • Defined in src/pools/thread/fixed.ts:46
  • promiseResponseMap: Map<string, PromiseResponseWrapper<Worker, Response>> = ...
    @@ -193,7 +197,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:73
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>
    @@ -202,16 +206,16 @@
    +
  • Defined in src/pools/abstract-pool.ts:81
  • -
    workerNodes: WorkerNode<Worker, Data>[] = []
    +
    workerNodes: IWorkerNode<Worker, Data>[] = []

    Pool worker nodes.

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

    @@ -226,7 +230,7 @@
    +
  • Defined in src/pools/thread/fixed.ts:96
  • +
  • Defined in src/pools/abstract-pool.ts:586
  • +
  • Defined in src/pools/abstract-pool.ts:289
  • +
  • Defined in src/pools/thread/fixed.ts:91
  • +
  • Defined in src/pools/thread/fixed.ts:86
  • +
    + +
    +
  • Defined in src/pools/thread/fixed.ts:76
  • +
    + +
      +
    • get utilization(): number
    • +
    • +

      Gets the approximate pool utilization.

      +
      +

      Returns number

      The pool utilization.

      + +
    +
  • Defined in src/pools/thread/fixed.ts:81
  • Methods

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

    +
  • Defined in src/pools/abstract-pool.ts:712
  • +
  • Defined in src/pools/abstract-pool.ts:1020
  • +
  • Defined in src/pools/abstract-pool.ts:691
  • +
    + +
    +
  • Defined in src/pools/abstract-pool.ts:972
  • +
  • Defined in src/pools/abstract-pool.ts:933
  • +
  • Defined in src/pools/thread/fixed.ts:68
  • +
  • Defined in src/pools/abstract-pool.ts:646
  • +
  • Defined in src/pools/thread/fixed.ts:57
  • +
  • Defined in src/pools/abstract-pool.ts:551
  • +
  • Defined in src/pools/abstract-pool.ts:611
  • +
  • Defined in src/pools/abstract-pool.ts:602
  • +
  • Defined in src/pools/thread/fixed.ts:52
  • +
  • Defined in src/pools/thread/fixed.ts:63
  • +
  • Defined in src/pools/abstract-pool.ts:563
  • +
  • Defined in src/pools/abstract-pool.ts:521
  • +
  • Defined in src/pools/abstract-pool.ts:540
  • +
  • Defined in src/pools/abstract-pool.ts:675
  • +
  • Defined in src/pools/abstract-pool.ts:1071