X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FDynamicClusterPool.html;h=de3365bb6a6b661d1426de672c8d9d6104be3001;hb=a6d9dccfaf39e185c896747260d668fcb683a8ed;hp=afc454110a1456263a093f9170ec3efaa683cbec;hpb=aba8d9bd41f1bd46f3cc3863c0c2e74bdfacb7b6;p=poolifier.git diff --git a/docs/classes/DynamicClusterPool.html b/docs/classes/DynamicClusterPool.html index afc45411..de3365bb 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
The 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
createProtected
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.
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.
@@ -90,7 +90,6 @@ When the maximum number of workers is reached and workers are busy, an event is execute internal Busy
is Main
-register Worker Message Listener
send To Worker
set Tasks Queue Options
set Worker Choice Strategy
@@ -141,7 +140,7 @@ When the maximum number of workers is reached and workers are busy, an event is
Properties
Protected
Readonly
fileProtected
Readonly
maxProtected
Readonly
numberProtected
Readonly
optsProtected
promiseProtected
workerReadonly
workerAccessors
Protected
full@@ -254,7 +253,7 @@ When the maximum number of workers is reached and workers are busy, an event is
info
@@ -266,7 +265,7 @@ When the maximum number of workers is reached and workers are busy, an event is
Protected
max@@ -278,7 +277,7 @@ When the maximum number of workers is reached and workers are busy, an event is
Protected
min@@ -290,7 +289,7 @@ When the maximum number of workers is reached and workers are busy, an event is
Protected
type@@ -303,7 +302,7 @@ When the maximum number of workers is reached and workers are busy, an event is
Protected
worker@@ -315,7 +314,7 @@ When the maximum number of workers is reached and workers are busy, an event is
Methods