X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FDynamicClusterPool.html;h=d0006825490796161e4ce0db9b8a44ebd8b38069;hb=33c629765dcf8e17e2d3fa207a286b5d360fae78;hp=0fcdc4ccc02f2cdf0249c85164582b2b69721bf6;hpb=fe9f25b5ac98c7c7fccd1849a200c5054a77cf03;p=poolifier.git
diff --git a/docs/classes/DynamicClusterPool.html b/docs/classes/DynamicClusterPool.html
index 0fcdc4cc..d0006825 100644
--- a/docs/classes/DynamicClusterPool.html
+++ b/docs/classes/DynamicClusterPool.html
@@ -40,7 +40,7 @@ When the maximum number of workers is reached, an event is emitted. If you want
+Defined in src/pools/cluster/dynamic.ts:16
Accessors
@@ -71,18 +71,20 @@ When the maximum number of workers is reached, an event is emitted. If you want
Methods
-after Worker Setup
+
after Promise Worker Response Hook
+
after Worker Setup
+
before Promise Worker Response Hook
choose Worker
create And Setup Worker
create Worker
-
decrease Workers Tasks
destroy
destroy Worker
execute
find Free Worker
+
get Worker Average Tasks Run Time
get Worker Index
get Worker Running Tasks
-
increase Workers Task
+
init Worker Tasks Usage
internal Execute
internal Get Busy Status
is Main
@@ -98,7 +100,7 @@ When the maximum number of workers is reached, an event is emitted. If you want
constructor
-new Dynamic Cluster Pool< Data , Response > ( min: number , max: number , filePath: string , opts??: ClusterPoolOptions ) : DynamicClusterPool < Data , Response >
+new Dynamic Cluster Pool< Data , Response > ( min: number , max: number , filePath: string , opts?: ClusterPoolOptions ) : DynamicClusterPool < Data , Response >
@@ -125,13 +127,13 @@ When the maximum number of workers is reached, an event is emitted. If you want
-
+
+
Defined in src/pools/cluster/dynamic.ts:28
Properties
@@ -141,13 +143,13 @@ When the maximum number of workers is reached, an event is emitted. If you want
Inherit Doc
+Defined in src/pools/abstract-pool.ts:42
Readonly
file Path
file Path: string
+Defined in src/pools/abstract-pool.ts:85
Readonly
max
max: number
@@ -155,7 +157,7 @@ When the maximum number of workers is reached, an event is emitted. If you want
Inherit Doc
+Defined in src/pools/cluster/dynamic.ts:30
Protected
next Message Id
next Message Id: number = 0
@@ -163,19 +165,19 @@ When the maximum number of workers is reached, an event is emitted. If you want
+Defined in src/pools/abstract-pool.ts:63
Readonly
number Of Workers
number Of Workers: number
+Defined in src/pools/abstract-pool.ts:84
+Defined in src/pools/cluster/fixed.ts:53
Protected
promise Map
promise Map: Map < number , PromiseWorkerResponseWrapper < Worker , Response > > = ...
@@ -188,15 +190,7 @@ When the maximum number of workers is reached, an event is emitted. If you want
-
-Readonly
tasks
-tasks: Map < Worker , number > = ...
-
+Defined in src/pools/abstract-pool.ts:55
Protected
worker Choice Strategy Context
worker Choice Strategy Context: WorkerChoiceStrategyContext < Worker , Data , Response >
@@ -205,7 +199,7 @@ When the maximum number of workers is reached, an event is emitted. If you want
+Defined in src/pools/abstract-pool.ts:70
Readonly
workers
workers: Worker [] = []
@@ -213,7 +207,15 @@ When the maximum number of workers is reached, an event is emitted. If you want
Inherit Doc
+Defined in src/pools/abstract-pool.ts:33
+
+Readonly
workers Tasks Usage
+workers Tasks Usage: Map < Worker , TasksUsage > = ...
+
Accessors
@@ -226,7 +228,7 @@ When the maximum number of workers is reached, an event is emitted. If you want
Returns boolean
+Defined in src/pools/cluster/dynamic.ts:43
+Defined in src/pools/abstract-pool.ts:156
+Defined in src/pools/cluster/dynamic.ts:38
Methods
+
+Protected
after Promise Worker Response Hook
+
+after Promise Worker Response Hook( message: MessageValue < Response , unknown > , promise: PromiseWorkerResponseWrapper < Worker , Response > ) : void
+
+
+
+
Parameters
+
+
+message: MessageValue < Response , unknown >
+
+
+promise: PromiseWorkerResponseWrapper < Worker , Response >
+
+Returns void
Protected
after Worker Setup
+Defined in src/pools/cluster/fixed.ts:93
+
+Protected
before Promise Worker Response Hook
+
+before Promise Worker Response Hook( worker: Worker ) : void
+
+
+
+Returns void
Constructs a new poolifier dynamic cluster pool.