X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FDynamicThreadPool.html;h=40f68df1173fce748a6115898a8577c28e5c9113;hb=912e1dfaa2988c8337b3410e7acbaf859afd2212;hp=cbbc5b2def4b48f98f57d9fddd3c3af7775c93fb;hpb=5e5a659e2b415c7d533dad095eda082989983f8e;p=poolifier.git diff --git a/docs/classes/DynamicThreadPool.html b/docs/classes/DynamicThreadPool.html index cbbc5b2d..40f68df1 100644 --- a/docs/classes/DynamicThreadPool.html +++ b/docs/classes/DynamicThreadPool.html @@ -1,4 +1,4 @@ -DynamicThreadPool | poolifier
+DynamicThreadPool | poolifier - v2.6.8
  • Preparing search index...
  • -
  • The search index is not available
poolifier
+
  • The search index is not available
  • poolifier - v2.6.8
    @@ -30,12 +30,12 @@ When the maximum number of threads is reached and workers are busy, an event is
    • Data = unknown

      -

      Type of data sent to the worker. This can only be serializable data.

      +

      Type of data sent to the worker. This can only be structured-cloneable data.

    • Response = unknown

      -

      Type of execution response. This can only be serializable data.

      +

      Type of execution response. This can only be structured-cloneable data.

    @@ -45,7 +45,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    • DynamicThreadPool
    +
  • Defined in src/pools/thread/dynamic.ts:15
  • @@ -74,6 +74,7 @@ When the maximum number of threads is reached and workers are busy, an event is maxSize minSize type +utilization worker
    @@ -81,7 +82,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    afterTaskExecutionHook afterWorkerSetup beforeTaskExecutionHook -chooseWorkerNode +createAndSetupDynamicWorker createAndSetupWorker createWorker destroy @@ -90,7 +91,6 @@ When the maximum number of threads is reached and workers are busy, an event is execute internalBusy isMain -registerWorkerMessageListener sendToWorker setTasksQueueOptions setWorkerChoiceStrategy @@ -141,7 +141,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/thread/dynamic.ts:27
  • Properties

    @@ -159,7 +159,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:60
  • filePath: string
    @@ -168,7 +168,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:98
  • max: number
    @@ -176,7 +176,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/thread/dynamic.ts:29
  • numberOfWorkers: number
    @@ -185,7 +185,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:97
  • @@ -194,10 +194,10 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/thread/fixed.ts:51
  • -
    promiseResponseMap: Map<string, PromiseResponseWrapper<ThreadWorkerWithMessageChannel, Response>> = ...
    +
    promiseResponseMap: Map<string, PromiseResponseWrapper<Worker, Response>> = ...

    The execution response promise map.

    +
  • Defined in src/pools/abstract-pool.ts:70
  • -
    workerChoiceStrategyContext: WorkerChoiceStrategyContext<ThreadWorkerWithMessageChannel, Data, Response>
    +
    workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>

    Worker choice strategy context referencing a worker choice algorithm implementation.

    +
  • Defined in src/pools/abstract-pool.ts:78
  • -
    workerNodes: WorkerNode<ThreadWorkerWithMessageChannel, Data>[] = []
    +
    workerNodes: WorkerNode<Worker, Data>[] = []

    Pool worker nodes.

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

    @@ -241,7 +241,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/thread/dynamic.ts:47
  • +
  • Defined in src/pools/abstract-pool.ts:521
  • +
  • Defined in src/pools/abstract-pool.ts:252
  • +
  • Defined in src/pools/thread/dynamic.ts:42
  • +
  • Defined in src/pools/thread/fixed.ts:91
  • +
  • Defined in src/pools/thread/dynamic.ts:37
  • +
    + +
    +
  • Defined in src/pools/thread/fixed.ts:86
  • Methods

    @@ -330,12 +343,12 @@ Can be overridden.

    Parameters

    @@ -343,20 +356,20 @@ Can be overridden.

    +
  • Defined in src/pools/abstract-pool.ts:641
  • +
  • Defined in src/pools/abstract-pool.ts:869
  • -
    - +
  • Defined in src/pools/abstract-pool.ts:625
  • +
    +
    +
  • Defined in src/pools/abstract-pool.ts:947
  • +
  • Defined in src/pools/abstract-pool.ts:879
  • +
  • Defined in src/pools/thread/fixed.ts:73
  • +
  • Defined in src/pools/abstract-pool.ts:580
  • +
  • Defined in src/pools/thread/fixed.ts:62
  • +
  • Defined in src/pools/abstract-pool.ts:486
  • +
  • Defined in src/pools/abstract-pool.ts:546
  • +
  • Defined in src/pools/abstract-pool.ts:537
  • -
    - -
    +
  • Defined in src/pools/thread/fixed.ts:57
  • +
  • Defined in src/pools/thread/fixed.ts:68
  • +
  • Defined in src/pools/abstract-pool.ts:498
  • +
  • Defined in src/pools/abstract-pool.ts:453
  • +
  • Defined in src/pools/abstract-pool.ts:475
  • +
  • Defined in src/pools/abstract-pool.ts:609
  • Returns void

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

    +
  • Defined in src/pools/abstract-pool.ts:973
  • +
  • WorkerTypes
  • +
  • availableParallelism
  • Generated using TypeDoc

    \ No newline at end of file