X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedThreadPool.html;h=75f41dbfacfc286e76e82cd0faf227fc2fa63e22;hb=a6d9dccfaf39e185c896747260d668fcb683a8ed;hp=c94a503a31bdd7a4a161b872c6717e79eab178ef;hpb=004a8816ae9b52388de246a9c7a5184a73915ad6;p=poolifier.git diff --git a/docs/classes/FixedThreadPool.html b/docs/classes/FixedThreadPool.html index c94a503a..75f41dbf 100644 --- a/docs/classes/FixedThreadPool.html +++ b/docs/classes/FixedThreadPool.html @@ -17,8 +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.

-

This pool selects the threads in a round robin fashion.

Author

Alessandro Pio Ardizio

@@ -30,24 +28,24 @@

Hierarchy

+
  • Defined in src/pools/thread/fixed.ts:37
  • @@ -80,9 +78,9 @@

    Methods

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

    @@ -155,7 +152,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:55
  • filePath: string
    @@ -164,7 +161,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:88
  • numberOfWorkers: number
    @@ -173,7 +170,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:87
  • opts: ThreadPoolOptions = {}
    @@ -182,10 +179,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:65
  • -
    workerChoiceStrategyContext: WorkerChoiceStrategyContext<ThreadWorkerWithMessageChannel, Data, Response>
    +
    workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>

    Worker choice strategy context referencing a worker choice algorithm implementation.

    -

    Default to a round robin algorithm.

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

    Pool worker nodes.

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

    @@ -230,7 +226,7 @@
    +
  • Defined in src/pools/thread/fixed.ts:101
  • +
  • Defined in src/pools/abstract-pool.ts:392
  • +
  • Defined in src/pools/abstract-pool.ts:240
  • +
  • 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

    @@ -319,12 +315,12 @@ Can be overridden.

    Parameters

    @@ -332,32 +328,32 @@ Can be overridden.

    -
    +
  • Defined in src/pools/abstract-pool.ts:506
  • +
    -
    +
  • Defined in src/pools/abstract-pool.ts:699
  • Returns void

    -
    - +
  • Defined in src/pools/abstract-pool.ts:490
  • +
    +
    +
  • Defined in src/pools/abstract-pool.ts:742
  • +
  • Defined in src/pools/abstract-pool.ts:709
  • +
  • Defined in src/pools/thread/fixed.ts:73
  • +
  • Defined in src/pools/abstract-pool.ts:451
  • +
  • Defined in src/pools/thread/fixed.ts:62
  • +
  • Defined in src/pools/abstract-pool.ts:357
  • +
  • Defined in src/pools/abstract-pool.ts:417
  • +
  • Defined in src/pools/abstract-pool.ts:408
  • -
    - -
    +
  • Defined in src/pools/thread/fixed.ts:57
  • +
  • Defined in src/pools/thread/fixed.ts:68
  • +
  • Defined in src/pools/abstract-pool.ts:369
  • +
  • Defined in src/pools/abstract-pool.ts:324
  • +
  • Defined in src/pools/abstract-pool.ts:346
  • +
  • Defined in src/pools/abstract-pool.ts:474
  • Returns void

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

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