X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FDynamicThreadPool.html;h=b7a829cf460f40092a4840ebb5b7ce726ecdffc0;hb=184d530faf6acf70e116cb4a3fb831938b73e2c0;hp=c6a56f040a48d913de8cb6390ee465ee7773f65a;hpb=dea903a811a58acdf93f11379b347bfd8088e970;p=poolifier.git diff --git a/docs/classes/DynamicThreadPool.html b/docs/classes/DynamicThreadPool.html index c6a56f04..b7a829cf 100644 --- a/docs/classes/DynamicThreadPool.html +++ b/docs/classes/DynamicThreadPool.html @@ -42,7 +42,7 @@ When the maximum number of threads is reached and workers are busy, an event is +
  • Defined in src/pools/thread/dynamic.ts:15
  • @@ -55,10 +55,10 @@ When the maximum number of threads is reached and workers are busy, an event is

    Properties

    emitter? -filePath -max -numberOfWorkers -opts +filePath +max +numberOfWorkers +opts promiseResponseMap workerChoiceStrategyContext workerNodes @@ -66,11 +66,12 @@ When the maximum number of threads is reached and workers are busy, an event is

    Accessors

    Methods

    @@ -132,7 +133,7 @@ When the maximum number of threads is reached and workers are busy, an event is

    Returns DynamicThreadPool<Data, Response>

    +
  • Defined in src/pools/thread/dynamic.ts:27
  • Properties

    @@ -149,38 +150,38 @@ When the maximum number of threads is reached and workers are busy, an event is
    -
    - +
  • Defined in src/pools/abstract-pool.ts:47
  • +
    +
    filePath: string

    Path to the worker file.

    -
    - +
  • Defined in src/pools/abstract-pool.ts:82
  • +
    +
    max: number

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

    -
    - +
  • Defined in src/pools/thread/dynamic.ts:29
  • +
    +
    numberOfWorkers: number

    Number of workers that this pool should manage.

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

    Options for the pool.

    +
  • Defined in src/pools/abstract-pool.ts:83
  • promiseResponseMap: Map<string, PromiseResponseWrapper<ThreadWorkerWithMessageChannel, Response>> = ...
    @@ -193,7 +194,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:57
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<ThreadWorkerWithMessageChannel, Data, Response>
    @@ -202,7 +203,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:67
  • workerNodes: WorkerNode<ThreadWorkerWithMessageChannel, Data>[] = []
    @@ -210,7 +211,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:44
  • Accessors

    @@ -224,19 +225,19 @@ When the maximum number of threads is reached and workers are busy, an event is

    Returns boolean

    -
    +
  • Defined in src/pools/thread/dynamic.ts:47
  • +
    -
    +
  • Defined in src/pools/abstract-pool.ts:360
  • +
  • Defined in src/pools/abstract-pool.ts:215
  • +
  • Defined in src/pools/thread/dynamic.ts:42
  • -
    - -
    +
    + +
    +
  • Defined in src/pools/thread/dynamic.ts:37
  • +
    + +

    Methods

    @@ -306,7 +318,7 @@ Can be overridden.

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:464
  • +
  • Defined in src/pools/thread/fixed.ts:90
  • +
  • Defined in src/pools/abstract-pool.ts:453
  • +
  • Defined in src/pools/abstract-pool.ts:532
  • +
  • Defined in src/pools/abstract-pool.ts:596
  • +
  • Defined in src/pools/thread/fixed.ts:83
  • +
  • Defined in src/pools/abstract-pool.ts:415
  • +
  • Defined in src/pools/thread/fixed.ts:59
  • +
  • Defined in src/pools/abstract-pool.ts:325
  • +
  • Defined in src/pools/abstract-pool.ts:380
  • +
  • Defined in src/pools/abstract-pool.ts:371
  • +
  • Defined in src/pools/thread/fixed.ts:54
  • +
  • Defined in src/pools/thread/fixed.ts:75
  • +
  • Defined in src/pools/thread/fixed.ts:67
  • +
  • Defined in src/pools/abstract-pool.ts:337
  • +
  • Defined in src/pools/abstract-pool.ts:284
  • +
  • Defined in src/pools/abstract-pool.ts:314
  • +
  • Defined in src/pools/abstract-pool.ts:438
  • +
  • Defined in src/pools/abstract-pool.ts:629
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file