X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FDynamicClusterPool.html;h=1252ca037b9beef4abf792bd812f6909eb0b6c9c;hb=2a6631992868d900762f62e4c228dce4e4ee549a;hp=c220e4e5fa869366b3d1d485c1465920689a4da7;hpb=6d59ea2c71b8a88d41498c6fb54dfad95fd3a3ac;p=poolifier.git diff --git a/docs/classes/DynamicClusterPool.html b/docs/classes/DynamicClusterPool.html index c220e4e5..1252ca03 100644 --- a/docs/classes/DynamicClusterPool.html +++ b/docs/classes/DynamicClusterPool.html @@ -30,12 +30,12 @@ When the maximum number of workers is reached and workers are busy, an event is
Protected
Readonly
numberProtected
Readonly
optsProtected
promiseProtected
workerReadonly
workerProtected
fullProtected
maxProtected
minPrivate
runGets the pool run time.
+The pool run time in milliseconds.
+ +Protected
typePrivate
utilizationGets the approximate pool utilization.
+The pool utilization.
+ +Protected
workerThe received message.
Protected
afterFunction that can be hooked up when a worker has been newly created and moved to the pool worker nodes.
-Can be used to update the maxListeners
or binding the main-worker
<->worker
connection if not bind by default.
Function that can be hooked up when a worker has been newly created and moved to the pool worker nodes. +Can be overridden.
Protected
beforeProtected
createProtected
createProtected
createTerminate every current worker in this pool.
+Terminates every current worker in this pool.
Protected
destroyOptional
data: DataThe task input data for the specified worker function. This can only be serializable data.
+The task input data for the specified worker function. This can only be structured-cloneable data.
Protected
internalProtected
isProtected
registerRegisters a listener callback on the given worker.
-The worker which should register a listener.
-The message listener callback.
-Protected
sendThe message.
Protected
setupSetup hook to execute code before worker node are created in the abstract constructor. -Can be overridden
+Setup hook to execute code before worker nodes are created in the abstract constructor. +Can be overridden.
Protected
workerThe listener function to execute when a message is received from a worker.
Generated using TypeDoc
Type of data sent to the worker. This can only be serializable data.
+Type of data sent to the worker. This can only be structured-cloneable data.
Response = unknown
-Type of execution response. This can only be serializable data.
+Type of execution response. This can only be structured-cloneable data.
@@ -73,7 +73,9 @@ When the maximum number of workers is reached and workers are busy, an event is info max Size
min Size
+run Time
type
+utilization
worker
Properties
Protected
Readonly
fileProtected
Readonly
max