X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FDynamicClusterPool.html;h=c0ec5c9fe7ce8aeb529270abc81e7d2303327642;hb=ef9f489c870680b9a754ab8e5b142b3f042a9ebb;hp=bba68781b6d2bc735540b7db327a6d09a8415039;hpb=c4dfd49dbde2f3af0adc4a33d582b1c653f859b5;p=poolifier.git diff --git a/docs/classes/DynamicClusterPool.html b/docs/classes/DynamicClusterPool.html index bba68781..c0ec5c9f 100644 --- a/docs/classes/DynamicClusterPool.html +++ b/docs/classes/DynamicClusterPool.html @@ -1,4 +1,4 @@ -
Protected
Readonly
numberProtected
Readonly
optsProtected
promiseProtected
workerReadonly
workerPool worker nodes.
Protected
fullProtected
maxProtected
minPrivate
readyPrivate
startingProtected
typePrivate
utilizationGets the approximate pool utilization.
+The pool utilization.
+ +Protected
workerProtected
afterProtected
beforeProtected
checkProtected
createProtected
createProtected
createTerminate every current worker in this pool.
+Terminates every current worker in this pool.
Protected
destroyProtected
internalProtected
isProtected
sendProtected
setupProtected
worker
Emitter on which events can be listened to.
Events that can currently be listened to:
-
-
+
+
+
@@ -158,7 +163,7 @@ When the maximum number of workers is reached and workers are busy, an event is +'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
max