X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FDynamicThreadPool.html;h=75da6d76187e524ab93943581bb7d79a573e2b97;hb=7cd8af0033b35def46016a78ea9be1ee516480bf;hp=9839ac139b1984a50c829efd4060c78d7cf895c8;hpb=e604957d6ec7c137a3588de2ebbc9c83c0f634ba;p=poolifier.git diff --git a/docs/classes/DynamicThreadPool.html b/docs/classes/DynamicThreadPool.html index 9839ac13..75da6d76 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:17
  • @@ -56,7 +56,7 @@ When the maximum number of threads is reached and workers are busy, an event is

    Properties

    emitter? filePath -max +max numberOfWorkers opts promiseResponseMap @@ -129,17 +129,17 @@ 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:29
  • Properties

    emitter?: PoolEmitter
    -

    {@inheritDoc}

    -
    +
  • Defined in src/pools/abstract-pool.ts:32
  • filePath: string
    @@ -147,14 +147,14 @@ When the maximum number of threads is reached and workers are busy, an event is
    -
    - +
  • Defined in src/pools/abstract-pool.ts:67
  • +
    +
    max: number

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

    +
  • Defined in src/pools/thread/dynamic.ts:31
  • numberOfWorkers: number
    @@ -162,7 +162,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:66
  • opts: PoolOptions<ThreadWorkerWithMessageChannel>
    @@ -170,7 +170,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:68
  • promiseResponseMap: Map<string, PromiseResponseWrapper<ThreadWorkerWithMessageChannel, Response>> = ...
    @@ -183,7 +183,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:42
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<ThreadWorkerWithMessageChannel, Data, Response>
    @@ -192,15 +192,15 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:52
  • workers: WorkerType<ThreadWorkerWithMessageChannel>[] = []
    -

    {@inheritDoc}

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

    @@ -208,23 +208,23 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/thread/dynamic.ts:49
  • +
  • Defined in src/pools/thread/dynamic.ts:44
  • +
  • Defined in src/pools/abstract-pool.ts:149
  • +
  • Defined in src/pools/thread/dynamic.ts:39
  • Methods

    @@ -271,14 +271,14 @@ Can be overridden.

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:268
  • +
  • Defined in src/pools/thread/fixed.ts:85
  • +
  • Defined in src/pools/abstract-pool.ts:257
  • +
  • Defined in src/pools/abstract-pool.ts:297
  • +
  • Defined in src/pools/abstract-pool.ts:363
  • +
  • Defined in src/pools/thread/fixed.ts:78
  • +
  • Defined in src/pools/abstract-pool.ts:220
  • +
  • Defined in src/pools/thread/fixed.ts:54
  • +
  • Defined in src/pools/abstract-pool.ts:204
  • +
  • Defined in src/pools/abstract-pool.ts:197
  • +
  • Defined in src/pools/abstract-pool.ts:189
  • +
  • Defined in src/pools/thread/fixed.ts:49
  • +
  • Defined in src/pools/abstract-pool.ts:487
  • +
  • Defined in src/pools/thread/fixed.ts:62
  • +
  • Defined in src/pools/abstract-pool.ts:164
  • +
  • Defined in src/pools/abstract-pool.ts:242
  • +
  • Defined in src/pools/abstract-pool.ts:392