X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FDynamicThreadPool.html;h=de2edc9d8649f9a8a2c83a1386b686ddedd67699;hb=8d98e603c79d8d00b2b6a33e5f732701a7466234;hp=b0564609b3bbb9fe03efd8767aa86015198b3660;hpb=1bb559f95ee0232e20550e28e4cfd3f6556cd8a8;p=poolifier.git diff --git a/docs/classes/DynamicThreadPool.html b/docs/classes/DynamicThreadPool.html index b0564609..de2edc9d 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

    @@ -143,42 +144,44 @@ 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>> = ...
    @@ -191,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>
    @@ -200,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>[] = []
    @@ -208,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

    @@ -222,64 +225,75 @@ 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/thread/dynamic.ts:37
  • +
    + +

    Methods

    @@ -304,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
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file