X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedThreadPool.html;h=405c43bc4f1eda2ed96899097ca333e09c83ea99;hb=2a6631992868d900762f62e4c228dce4e4ee549a;hp=2504bffc197d9db600773760a373537c3baec970;hpb=5e5a659e2b415c7d533dad095eda082989983f8e;p=poolifier.git diff --git a/docs/classes/FixedThreadPool.html b/docs/classes/FixedThreadPool.html index 2504bffc..405c43bc 100644 --- a/docs/classes/FixedThreadPool.html +++ b/docs/classes/FixedThreadPool.html @@ -17,7 +17,6 @@

Class FixedThreadPool<Data, Response>

A thread pool with a fixed number of threads.

-

It is possible to perform tasks in sync or asynchronous mode as you prefer.

Author

Alessandro Pio Ardizio

@@ -29,24 +28,24 @@

Hierarchy

+
  • Defined in src/pools/thread/fixed.ts:37
  • @@ -73,15 +72,17 @@ info maxSize minSize +runTime type +utilization worker

    Methods

    +
  • Defined in src/pools/thread/fixed.ts:48
  • Properties

    @@ -154,7 +154,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:58
  • filePath: string
    @@ -163,7 +163,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:96
  • numberOfWorkers: number
    @@ -172,7 +172,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:95
  • opts: ThreadPoolOptions = {}
    @@ -181,10 +181,10 @@
    +
  • Defined in src/pools/thread/fixed.ts:51
  • -
    promiseResponseMap: Map<string, PromiseResponseWrapper<ThreadWorkerWithMessageChannel, Response>> = ...
    +
    promiseResponseMap: Map<string, PromiseResponseWrapper<Worker, Response>> = ...

    The execution response promise map.

    +
  • Defined in src/pools/abstract-pool.ts:68
  • -
    workerChoiceStrategyContext: WorkerChoiceStrategyContext<ThreadWorkerWithMessageChannel, Data, Response>
    +
    workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>

    Worker choice strategy context referencing a worker choice algorithm implementation.

    +
  • Defined in src/pools/abstract-pool.ts:76
  • -
    workerNodes: WorkerNode<ThreadWorkerWithMessageChannel, Data>[] = []
    +
    workerNodes: WorkerNode<Worker, Data>[] = []

    Pool worker nodes.

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

    @@ -228,7 +228,7 @@
    +
  • Defined in src/pools/thread/fixed.ts:101
  • +
  • Defined in src/pools/abstract-pool.ts:441
  • +
  • Defined in src/pools/abstract-pool.ts:250
  • +
  • Defined in src/pools/thread/fixed.ts:96
  • +
  • Defined in src/pools/thread/fixed.ts:91
  • +
    + +
    +
  • Defined in src/pools/thread/fixed.ts:81
  • +
    + +
    +
  • Defined in src/pools/thread/fixed.ts:86
  • Methods

    @@ -317,12 +343,12 @@ Can be overridden.

    Parameters

    @@ -330,28 +356,28 @@ Can be overridden.

    -
    +
  • Defined in src/pools/abstract-pool.ts:555
  • +
    -
    +
  • Defined in src/pools/abstract-pool.ts:747
  • -
    - +
  • Defined in src/pools/abstract-pool.ts:539
  • +
    +
    +
  • Defined in src/pools/abstract-pool.ts:790
  • +
  • Defined in src/pools/abstract-pool.ts:757
  • +
  • Defined in src/pools/thread/fixed.ts:73
  • +
  • Defined in src/pools/abstract-pool.ts:500
  • +
  • Defined in src/pools/thread/fixed.ts:62
  • +
  • Defined in src/pools/abstract-pool.ts:406
  • +
  • Defined in src/pools/abstract-pool.ts:466
  • +
  • Defined in src/pools/abstract-pool.ts:457
  • -
    - -
    +
  • Defined in src/pools/thread/fixed.ts:57
  • +
  • Defined in src/pools/thread/fixed.ts:68
  • +
  • Defined in src/pools/abstract-pool.ts:418
  • +
  • Defined in src/pools/abstract-pool.ts:373
  • +
  • Defined in src/pools/abstract-pool.ts:395
  • +
  • Defined in src/pools/abstract-pool.ts:523
  • Returns void

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

    +
  • Defined in src/pools/abstract-pool.ts:815
  • +
  • WorkerTypes
  • +
  • availableParallelism
  • Generated using TypeDoc

    \ No newline at end of file