X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FDynamicClusterPool.html;h=4b1e830ed146af5a1d5b6fb7b4440f82cb0eed33;hb=dab8c377b70fc962ec217f2aeb719842f9f94cd6;hp=53242a4961ac606d00edf78b736aea361a0beb91;hpb=2946f23da560702e3f3631887e1eeb88777bd47d;p=poolifier.git diff --git a/docs/classes/DynamicClusterPool.html b/docs/classes/DynamicClusterPool.html index 53242a49..4b1e830e 100644 --- a/docs/classes/DynamicClusterPool.html +++ b/docs/classes/DynamicClusterPool.html @@ -24,9 +24,9 @@ When the maximum number of workers is reached and workers are busy, an event is

Since

2.0.0

-
+

Type Parameters

-
+
  • Defined in src/pools/cluster/dynamic.ts:16
  • @@ -69,6 +69,7 @@ When the maximum number of workers is reached and workers are busy, an event is full numberOfQueuedTasks numberOfRunningTasks +size type
    @@ -102,9 +103,9 @@ When the maximum number of workers is reached and workers are busy, an event is
  • Constructs a new poolifier dynamic cluster pool.

    -
    +

    Type Parameters

    -
    +
  • Defined in src/pools/cluster/dynamic.ts:28
  • Properties

    @@ -146,7 +147,7 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:44
  • filePath: string
    @@ -154,14 +155,14 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:79
  • max: number

    Maximum number of workers that can be created by this pool.

    +
  • Defined in src/pools/cluster/dynamic.ts:30
  • numberOfWorkers: number
    @@ -169,7 +170,7 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:78
  • opts: ClusterPoolOptions = {}
    @@ -177,7 +178,7 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/cluster/fixed.ts:53
  • promiseResponseMap: Map<string, PromiseResponseWrapper<Worker, Response>> = ...
    @@ -190,7 +191,7 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:54
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>
    @@ -199,7 +200,7 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:64
  • workerNodes: WorkerNode<Worker, Data>[] = []
    @@ -207,7 +208,7 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:41
  • Accessors

    @@ -221,7 +222,7 @@ When the maximum number of workers is reached and workers are busy, an event is

    Returns boolean

    +
  • Defined in src/pools/cluster/dynamic.ts:53
  • +
  • Defined in src/pools/cluster/dynamic.ts:48
  • +
  • Defined in src/pools/abstract-pool.ts:229
  • +
  • Defined in src/pools/abstract-pool.ts:219
  • +
    + +
    +
  • Defined in src/pools/cluster/dynamic.ts:38
  • Methods

    @@ -286,13 +298,13 @@ Can be overridden.

    The worker.

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

    The received message.

  • Returns void

    +
  • Defined in src/pools/abstract-pool.ts:423
  • +
  • Defined in src/pools/cluster/fixed.ts:93
  • +
  • Defined in src/pools/abstract-pool.ts:412
  • +
  • Defined in src/pools/abstract-pool.ts:460
  • +
  • Defined in src/pools/abstract-pool.ts:523
  • +
  • Defined in src/pools/cluster/fixed.ts:88
  • +
  • Defined in src/pools/abstract-pool.ts:375
  • +
  • Defined in src/pools/cluster/fixed.ts:69
  • +
  • Defined in src/pools/abstract-pool.ts:289
  • -

    Returns Promise<Response>

    +
  • Defined in src/pools/abstract-pool.ts:342
  • +
  • Defined in src/pools/abstract-pool.ts:333
  • +
  • Defined in src/pools/cluster/fixed.ts:64
  • Returns void

    Returns void

    +
  • Defined in src/pools/cluster/fixed.ts:80
  • Returns void

    +
  • Defined in src/pools/cluster/fixed.ts:75
  • +
  • Defined in src/pools/abstract-pool.ts:301
  • +
  • Defined in src/pools/abstract-pool.ts:252
  • +
  • Defined in src/pools/abstract-pool.ts:278
  • +
  • Defined in src/pools/cluster/fixed.ts:59
  • +

    Returns void

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

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