X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedClusterPool.html;h=bad5c3ca4d6a07e3cc5d1ec139e84d24827952d9;hb=247ce01eb1230d22b93252db1732d626d2745f9e;hp=ed3678d2fd17d971d75f6404b727a3381cc732e9;hpb=15d6dfaf877ec6a99e2bde48cb3c8a9e8671c075;p=poolifier.git diff --git a/docs/classes/FixedClusterPool.html b/docs/classes/FixedClusterPool.html index ed3678d2..bad5c3ca 100644 --- a/docs/classes/FixedClusterPool.html +++ b/docs/classes/FixedClusterPool.html @@ -18,7 +18,6 @@

A cluster pool with a fixed number of workers.

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

-

This pool selects the workers in a round robin fashion.

Author

Christopher Quadflieg

@@ -47,7 +46,7 @@
+
  • Defined in src/pools/cluster/fixed.ts:40
  • @@ -137,7 +136,7 @@
    +
  • Defined in src/pools/cluster/fixed.ts:51
  • Properties

    @@ -155,7 +154,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:54
  • filePath: string
    @@ -164,7 +163,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:87
  • numberOfWorkers: number
    @@ -173,7 +172,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:86
  • opts: ClusterPoolOptions = {}
    @@ -182,7 +181,7 @@
    +
  • Defined in src/pools/cluster/fixed.ts:54
  • promiseResponseMap: Map<string, PromiseResponseWrapper<Worker, Response>> = ...
    @@ -196,17 +195,16 @@
    +
  • Defined in src/pools/abstract-pool.ts:64
  • 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:72
  • workerNodes: WorkerNode<Worker, Data>[] = []
    @@ -215,7 +213,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:51
  • Accessors

    @@ -230,7 +228,7 @@
    +
  • Defined in src/pools/cluster/fixed.ts:120
  • +
  • Defined in src/pools/abstract-pool.ts:371
  • +
  • Defined in src/pools/abstract-pool.ts:220
  • +
  • Defined in src/pools/cluster/fixed.ts:115
  • +
  • Defined in src/pools/cluster/fixed.ts:110
  • +
  • Defined in src/pools/cluster/fixed.ts:100
  • +
  • Defined in src/pools/cluster/fixed.ts:105
  • Methods

    @@ -324,7 +322,7 @@ Can be overridden.

  • -
    message: MessageValue<Response, Worker | MessagePort>
    +
    message: MessageValue<Response, unknown, Worker | MessagePort>

    The received message.

  • @@ -332,7 +330,7 @@ Can be overridden.

    +
  • Defined in src/pools/abstract-pool.ts:481
  • +
  • Defined in src/pools/cluster/fixed.ts:94
  • Returns void

    +
  • Defined in src/pools/abstract-pool.ts:465
  • +
  • Defined in src/pools/abstract-pool.ts:616
  • +
  • Defined in src/pools/abstract-pool.ts:681
  • +
  • Defined in src/pools/cluster/fixed.ts:89
  • +
  • Defined in src/pools/abstract-pool.ts:426
  • +
  • Defined in src/pools/cluster/fixed.ts:70
  • +
  • Defined in src/pools/abstract-pool.ts:336
  • +
  • Defined in src/pools/abstract-pool.ts:391
  • +
  • Defined in src/pools/abstract-pool.ts:382
  • +
  • Defined in src/pools/cluster/fixed.ts:65
  • Returns void

    Returns void

    +
  • Defined in src/pools/cluster/fixed.ts:81
  • @@ -583,7 +586,7 @@ Can be overridden.

    +
  • Defined in src/pools/cluster/fixed.ts:76
  • +
  • Defined in src/pools/abstract-pool.ts:348
  • +
  • Defined in src/pools/abstract-pool.ts:303
  • +
  • Defined in src/pools/abstract-pool.ts:325
  • +
  • Defined in src/pools/cluster/fixed.ts:60
  • Returns void

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

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