X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FDynamicThreadPool.html;h=66f365d333157ae357b5d5c65831a7272cd20251;hb=ba92b02f642f229cb927ab526148f10107831471;hp=c9b126cc88102e3da49055f46db881b6943aaf74;hpb=79458fb6e10234a237757111e710f8f71424fa06;p=poolifier.git
diff --git a/docs/classes/DynamicThreadPool.html b/docs/classes/DynamicThreadPool.html
index c9b126cc..66f365d3 100644
--- a/docs/classes/DynamicThreadPool.html
+++ b/docs/classes/DynamicThreadPool.html
@@ -18,7 +18,7 @@
-
+
+Private
Readonly
max
max: number
+
Defined in src/pools/thread/dynamic.ts:31
Readonly
number Of Workers
number Of Workers: number
@@ -161,7 +162,7 @@ When the maximum number of threads is reached, an event is emitted. If you want
+Defined in src/pools/abstract-pool.ts:66
Readonly
opts
@@ -169,7 +170,7 @@ When the maximum number of threads is reached, an event is emitted. If you want
+Defined in src/pools/abstract-pool.ts:68
Protected
promise Response Map
@@ -182,7 +183,7 @@ When the maximum number of threads is reached, an event is emitted. If you want
+Defined in src/pools/abstract-pool.ts:42
Protected
worker Choice Strategy Context
@@ -191,7 +192,7 @@ When the maximum number of threads is reached, an event is emitted. If you want
+Defined in src/pools/abstract-pool.ts:52
Readonly
workers
@@ -199,7 +200,7 @@ When the maximum number of threads is reached, an event is emitted. If you want
+Defined in src/pools/abstract-pool.ts:29
Accessors
@@ -212,18 +213,29 @@ When the maximum number of threads is reached, an event is emitted. If you want
Returns boolean
-
+
+full
+
+get full( ) : boolean
+Returns boolean
+
+Private
number Of Running Tasks
+
+get numberOfRunningTasks( ) : number
+
+
Returns number
+Defined in src/pools/abstract-pool.ts:153
+Defined in src/pools/thread/dynamic.ts:39
Protected
after Worker Setup
+Defined in src/pools/thread/fixed.ts:85
Protected
before Promise Response Hook
+Defined in src/pools/abstract-pool.ts:256
+Defined in src/pools/abstract-pool.ts:307
Protected
create And Setup Worker
+Defined in src/pools/abstract-pool.ts:352
+Defined in src/pools/thread/fixed.ts:78
+Defined in src/pools/abstract-pool.ts:222
+Defined in src/pools/thread/fixed.ts:54
+Defined in src/pools/abstract-pool.ts:207
find Free Worker Key
-find Free Worker Key( ) : number | false
+find Free Worker Key( ) : number
-Returns number | false
-
+
+Protected
internal Busy
-internal Get Busy Status( ) : boolean
+internal Busy( ) : boolean
Returns boolean
+Defined in src/pools/abstract-pool.ts:192
+Defined in src/pools/thread/fixed.ts:49
register Worker Message Listener
+Defined in src/pools/thread/fixed.ts:70
+Defined in src/pools/abstract-pool.ts:294
+Defined in src/pools/thread/fixed.ts:62
+Defined in src/pools/abstract-pool.ts:168
+Defined in src/pools/abstract-pool.ts:241
Protected
worker Listener
@@ -532,7 +544,7 @@ to run code before workers are created in the abstract constructor.
Returns void
+Defined in src/pools/abstract-pool.ts:381
A thread pool with a dynamic number of threads, but a guaranteed minimum number of threads.
This thread pool creates new threads when the others are busy, up to the maximum number of threads. -When the maximum number of threads is reached, an event is emitted. If you want to listen to this event, use the pool's
+When the maximum number of threads is reached and workers are busy, an event is emitted. If you want to listen to this event, use the pool'semitter
.emitter
.Author
Alessandro Pio Ardizio
@@ -42,7 +42,7 @@ When the maximum number of threads is reached, an event is emitted. If you want@@ -56,7 +56,7 @@ When the maximum number of threads is reached, an event is emitted. If you wantemitter?
file Path
-max
+max
number Of Workers
opts
promise Response Map
@@ -66,7 +66,8 @@ When the maximum number of threads is reached, an event is emitted. If you want
busy
-number Of Running Tasks
+full
+number Of Running Tasks
type
@@ -81,7 +82,7 @@ When the maximum number of threads is reached, an event is emitted. If you want
destroy Worker
execute
find Free Worker Key
-internal Get Busy Status
+internal Busy
is Main
register Worker Message Listener
remove Worker
@@ -128,7 +129,7 @@ When the maximum number of threads is reached, an event is emitted. If you want
+Defined in src/pools/thread/dynamic.ts:29
@@ -138,7 +139,7 @@ When the maximum number of threads is reached, an event is emitted. If you want
Properties
Accessors
Returns DynamicThreadPool<Data, Response>
Properties
Readonly
file