X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FDynamicThreadPool.html;h=25b842f78dd68afa2c33807fd36910b47c936a03;hb=1b0aa06b3ab5cf8ae8bd135087143165889901cc;hp=d263e3e982c78a2db847dfa57f67ef41f10b2e29;hpb=71a64eca52278c2396cf7cb6e6c53fce3704f5ab;p=poolifier.git diff --git a/docs/classes/DynamicThreadPool.html b/docs/classes/DynamicThreadPool.html index d263e3e9..25b842f7 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,17 +56,18 @@ When the maximum number of threads is reached and workers are busy, an event is

    Properties

    Accessors

    @@ -75,20 +76,25 @@ When the maximum number of threads is reached and workers are busy, an event is
    afterPromiseResponseHook afterWorkerSetup beforePromiseResponseHook -chooseWorker +chooseWorkerNode createAndSetupWorker createWorker +dequeueTask destroy destroyWorker +enqueueTask execute -findFreeWorkerKey +findFreeWorkerNodeKey +flushTasksQueue +flushTasksQueueByWorker internalBusy isMain registerWorkerMessageListener -removeWorker +removeWorkerNode sendToWorker setWorkerChoiceStrategy setupHook +tasksQueueLength workerListener
    @@ -129,7 +135,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:29
  • Properties

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

    Inherit Doc

    +
  • Defined in src/pools/abstract-pool.ts:33
  • filePath: string
    @@ -147,14 +153,14 @@ When the maximum number of threads is reached and workers are busy, an event is
    -
    - +
  • Defined in src/pools/abstract-pool.ts:68
  • +
    +
    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 +168,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:67
  • opts: PoolOptions<ThreadWorkerWithMessageChannel>
    @@ -170,7 +176,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:69
  • promiseResponseMap: Map<string, PromiseResponseWrapper<ThreadWorkerWithMessageChannel, Response>> = ...
    @@ -183,7 +189,7 @@ When the maximum number of threads is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:43
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<ThreadWorkerWithMessageChannel, Data, Response>
    @@ -192,15 +198,15 @@ When the maximum number of threads is reached and workers are busy, an event is
    -
    - -
    workers: WorkerType<ThreadWorkerWithMessageChannel>[] = []
    +
  • Defined in src/pools/abstract-pool.ts:53
  • +
    + +
    workerNodes: WorkerNode<ThreadWorkerWithMessageChannel, Data>[] = []

    Inherit Doc

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

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

    Returns boolean

    +
  • Defined in src/pools/thread/dynamic.ts:49
  • +
  • Defined in src/pools/thread/dynamic.ts:44
  • +
    + +
    +
  • Defined in src/pools/abstract-pool.ts:156
  • +
  • Defined in src/pools/thread/dynamic.ts:39
  • Methods

    @@ -271,7 +288,7 @@ Can be overridden.

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:307
  • +
  • Defined in src/pools/thread/fixed.ts:85
  • -
    - +
  • Defined in src/pools/abstract-pool.ts:296
  • +
    +
    +
  • Defined in src/pools/abstract-pool.ts:340
  • +
  • Defined in src/pools/abstract-pool.ts:406
  • +
  • Defined in src/pools/thread/fixed.ts:78
  • +
    + +
    +
  • Defined in src/pools/abstract-pool.ts:259
  • +
  • Defined in src/pools/thread/fixed.ts:54
  • +
    + +
    -
    - +
  • Defined in src/pools/abstract-pool.ts:236
  • +
    +
    +
  • Defined in src/pools/abstract-pool.ts:229
  • +
    + +
    +
    + +
    +
  • Defined in src/pools/abstract-pool.ts:221
  • +
  • Defined in src/pools/thread/fixed.ts:49
  • -
    - +
  • Defined in src/pools/thread/fixed.ts:70
  • +
    +
    +
  • Defined in src/pools/abstract-pool.ts:545
  • +
  • Defined in src/pools/thread/fixed.ts:62
  • +
  • Defined in src/pools/abstract-pool.ts:189
  • +
  • Defined in src/pools/abstract-pool.ts:281
  • +
    + +
    +
  • Defined in src/pools/abstract-pool.ts:429
  • Generated using TypeDoc