X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedClusterPool.html;h=f4d30b5b8789b1620e454f5dc2c9fa2007dfec3a;hb=36df5bd40369d98d6ccb60400e66dce1aa980d54;hp=ded825c8f7a2a43cc5f76578b6616846cda50f19;hpb=c2d2417cb80d8c14637fe6a19d58bcf5ce18ae98;p=poolifier.git diff --git a/docs/classes/FixedClusterPool.html b/docs/classes/FixedClusterPool.html index ded825c8..f4d30b5b 100644 --- a/docs/classes/FixedClusterPool.html +++ b/docs/classes/FixedClusterPool.html @@ -1,4 +1,4 @@ -
Emitter on which events can be listened to.
Events that can currently be listened to:
-
-
+
+
+
@@ -153,7 +156,7 @@ +'full'
: Emitted when the pool is dynamic and full.'busy'
: Emitted when the pool is busy.'full'
: Emitted when the pool is dynamic and the number of workers created has reached the maximum size expected.'ready'
: Emitted when the number of workers created in the pool has reached the minimum size expected and are ready.'busy'
: Emitted when the number of workers created in the pool has reached the maximum size expected and are executing at least one task.'error'
: Emitted when an uncaught error occurs.'taskError'
: Emitted when an error occurs while executing a task.Protected
Readonly
fileProtected
Readonly
numberProtected
Readonly
optsProtected
promiseProtected
workerReadonly
workerAccessors
Protected
full@@ -240,7 +243,7 @@
info
@@ -252,7 +255,7 @@
Protected
max@@ -264,7 +267,7 @@
Protected
min@@ -276,7 +279,16 @@
+Private
ready+- get ready(): boolean
+-
+
Returns boolean
Protected
type@@ -289,7 +301,7 @@
Private
utilization@@ -302,7 +314,7 @@
Protected
worker@@ -314,7 +326,7 @@
Methods
Protected
after@@ -363,7 +375,7 @@ Can be overridden.
Protected
before@@ -389,7 +401,23 @@ Can be overridden.
Dynamic Pool Size
+Protected
check+- check
Dynamic Pool Size(min, max): void
+-
+
+
+
Parameters
++-
+
+-
+
min: number
max: number
Returns void
Protected
create@@ -402,7 +430,7 @@ Can be overridden.
Protected
create@@ -415,7 +443,7 @@ Can be overridden.
Protected
create@@ -428,7 +456,7 @@ Can be overridden.
destroy
@@ -440,7 +468,7 @@ Can be overridden.
Protected
destroy@@ -460,7 +488,7 @@ Can be overridden.
enable Tasks Queue
@@ -485,7 +513,7 @@ Can be overridden.
execute
@@ -511,7 +539,7 @@ Can be overridden.
Protected
internal@@ -524,7 +552,7 @@ Can be overridden.
Protected
is@@ -536,7 +564,7 @@ Can be overridden.
Protected
send@@ -561,7 +589,7 @@ Can be overridden.
set Tasks Queue Options
@@ -581,7 +609,7 @@ Can be overridden.
set Worker Choice Strategy
@@ -606,7 +634,7 @@ Can be overridden.
set Worker Choice Strategy Options
@@ -626,7 +654,7 @@ Can be overridden.
Protected
setup@@ -639,7 +667,7 @@ Can be overridden.
Protected
worker@@ -667,7 +695,7 @@ Can be overridden.