X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedThreadPool.html;h=59591f905702ae11a28af5f2ff0d6b8e7da44592;hb=222387cba569774821d225147ac6f35f4f1bc696;hp=c4fbf9f122e04fcc0d8b7f2dec7316ae22378b31;hpb=2624da4d8f724e8bc0b655cddfc6ba5ae9a4d053;p=poolifier.git diff --git a/docs/classes/FixedThreadPool.html b/docs/classes/FixedThreadPool.html index c4fbf9f1..59591f90 100644 --- a/docs/classes/FixedThreadPool.html +++ b/docs/classes/FixedThreadPool.html @@ -1,4 +1,4 @@ -
Emitter on which events can be listened to.
Events that can currently be listened to:
-
-
+
+
+
@@ -154,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
worker Nodes
-Readonly
workerPool worker nodes.
Accessors
Protected
full@@ -241,7 +243,7 @@
info
@@ -253,7 +255,7 @@
Protected
max@@ -265,7 +267,7 @@
Protected
min@@ -277,20 +279,16 @@
Time
+Private
runPrivate
ready-- get runTime(): number
+- get ready(): boolean
-
-
-
Gets the pool run time.
-Returns number
The pool run time in milliseconds.
- -Protected
type@@ -303,7 +301,7 @@
Overrides AbstractPool.type
-- Defined in src/pools/thread/fixed.ts:81
Private
utilization@@ -316,7 +314,7 @@
Inherited from AbstractPool.utilization
-- Defined in src/pools/abstract-pool.ts:315
Protected
worker@@ -328,7 +326,7 @@
Overrides AbstractPool.worker
-- Defined in src/pools/thread/fixed.ts:86
Methods
Inherited from AbstractPool.afterTaskExecutionHook
-- Defined in src/pools/abstract-pool.ts:558
Protected
after@@ -377,7 +375,7 @@ Can be overridden.
Inherited from AbstractPool.afterWorkerSetup
-- Defined in src/pools/abstract-pool.ts:750
Protected
before@@ -403,7 +401,23 @@ Can be overridden.
Inherited from AbstractPool.beforeTaskExecutionHook
-- Defined in src/pools/abstract-pool.ts:542
Dynamic Pool Size
+Protected
check+- check
Dynamic Pool Size(min, max): void
+-
+
+
+
+
Parameters
++-
+
+-
+
min: number
max: number
Returns void
Inherited from AbstractPool.checkDynamicPoolSize
++- Defined in src/pools/abstract-pool.ts:173
Protected
create@@ -416,7 +430,7 @@ Can be overridden.
Inherited from AbstractPool.createAndSetupDynamicWorker
-- Defined in src/pools/abstract-pool.ts:793
Protected
create@@ -429,7 +443,7 @@ Can be overridden.
Inherited from AbstractPool.createAndSetupWorker
-- Defined in src/pools/abstract-pool.ts:760
Protected
create@@ -442,7 +456,7 @@ Can be overridden.
Overrides AbstractPool.createWorker
-- Defined in src/pools/thread/fixed.ts:73
destroy
@@ -454,7 +468,7 @@ Can be overridden.
Inherited from AbstractPool.destroy
-- Defined in src/pools/abstract-pool.ts:503
Protected
destroy@@ -474,7 +488,7 @@ Can be overridden.
Overrides AbstractPool.destroyWorker
-- Defined in src/pools/thread/fixed.ts:62
enable Tasks Queue
@@ -499,7 +513,7 @@ Can be overridden.
Inherited from AbstractPool.enableTasksQueue
-- Defined in src/pools/abstract-pool.ts:409
execute
@@ -525,7 +539,7 @@ Can be overridden.
Inherited from AbstractPool.execute
-- Defined in src/pools/abstract-pool.ts:469
Protected
internal@@ -538,7 +552,7 @@ Can be overridden.
Inherited from AbstractPool.internalBusy
-- Defined in src/pools/abstract-pool.ts:460
Protected
is@@ -550,7 +564,7 @@ Can be overridden.
Overrides AbstractPool.isMain
-- Defined in src/pools/thread/fixed.ts:57
Protected
send@@ -575,7 +589,7 @@ Can be overridden.
Overrides AbstractPool.sendToWorker
-- Defined in src/pools/thread/fixed.ts:68
set Tasks Queue Options
@@ -595,7 +609,7 @@ Can be overridden.
Inherited from AbstractPool.setTasksQueueOptions
-- Defined in src/pools/abstract-pool.ts:421
set Worker Choice Strategy
@@ -620,7 +634,7 @@ Can be overridden.
Inherited from AbstractPool.setWorkerChoiceStrategy
-- Defined in src/pools/abstract-pool.ts:376
set Worker Choice Strategy Options
@@ -640,7 +654,7 @@ Can be overridden.
Inherited from AbstractPool.setWorkerChoiceStrategyOptions
-- Defined in src/pools/abstract-pool.ts:398
Protected
setup@@ -653,7 +667,7 @@ Can be overridden.
Inherited from AbstractPool.setupHook
-- Defined in src/pools/abstract-pool.ts:526
Protected
worker@@ -681,7 +695,7 @@ Can be overridden.
Inherited from AbstractPool.workerListener
-- Defined in src/pools/abstract-pool.ts:818