X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedThreadPool.html;h=157e4a349198bab2fc77e5e7a406a3378e5b1135;hb=58a06a6cab5a4b2e3f66b692a2a517741c3c090a;hp=c4fbf9f122e04fcc0d8b7f2dec7316ae22378b31;hpb=1c277f5889dcbfed65ca1862efba68198dcaa99c;p=poolifier.git diff --git a/docs/classes/FixedThreadPool.html b/docs/classes/FixedThreadPool.html index c4fbf9f1..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
    @@ -45,7 +45,7 @@ +
  • Defined in src/pools/thread/fixed.ts:32
  • @@ -72,7 +72,7 @@ info maxSize minSize -runTime +ready type utilization worker @@ -82,6 +82,7 @@
    +
  • Defined in src/pools/thread/fixed.ts:43
  • Properties

    @@ -145,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.
    @@ -154,7 +156,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:63
  • filePath: string
    @@ -163,7 +165,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:105
  • numberOfWorkers: number
    @@ -172,7 +174,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:104
  • @@ -181,7 +183,7 @@
    +
  • Defined in src/pools/thread/fixed.ts:46
  • promiseResponseMap: Map<string, PromiseResponseWrapper<Worker, Response>> = ...
    @@ -195,7 +197,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:73
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>
    @@ -204,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

    @@ -228,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
  • +
    +
      -
    • get runTime(): number
    • +
    • get ready(): boolean
    • -

      Gets the pool run time.

      -
      -

      Returns number

      The pool run time in milliseconds.

      - -
    +
  • Defined in src/pools/abstract-pool.ts:425
  • +
  • Defined in src/pools/thread/fixed.ts:76
  • +
  • Defined in src/pools/abstract-pool.ts:442
  • +
  • Defined in src/pools/thread/fixed.ts:81
  • Methods

    @@ -356,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