X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FClusterWorker.html;h=bfe02d95cda7dfd3bc9133083ecb396a02a286cf;hb=4e1212db1d198963828820471bde6902277d0388;hp=65ddf781508c0232200fdbb46963c720debf8b52;hpb=222387cba569774821d225147ac6f35f4f1bc696;p=poolifier.git diff --git a/docs/classes/ClusterWorker.html b/docs/classes/ClusterWorker.html index 65ddf781..bfe02d95 100644 --- a/docs/classes/ClusterWorker.html +++ b/docs/classes/ClusterWorker.html @@ -1,13 +1,13 @@ -
Protected
Readonly
isProtected
lastProtected
Readonly
mainReference to main worker.
-Protected
Readonly
optsProtected
optsOptions for the worker.
Protected
statisticsProtected
taskTask function(s) processed by the worker when the pool's execution
function is invoked.
The task function to add.
Whether the task function was added or not.
https://nodejs.org/api/errors.html#class-typeerror If the name
parameter is not a string.
https://nodejs.org/api/errors.html#class-typeerror If the name
parameter is not a string or an empty string.
https://nodejs.org/api/errors.html#class-error If the name
parameter is the default task function reserved name.
Protected
getReference to the main worker.
-Protected
handleInherited from AbstractWorker.handleError
Protected
handleHandles a kill message sent by the main worker.
+The kill message.
+Inherited from AbstractWorker.handleKillMessage
+Protected
handleHandles the ready message sent by the main worker.
+The ready message.
+Overrides AbstractWorker.handleReadyMessage
+Whether the worker has a task function with the given name or not.
https://nodejs.org/api/errors.html#class-typeerror If the name
parameter is not a string.
https://nodejs.org/api/errors.html#class-typeerror If the name
parameter is not a string or an empty string.
Inherited from AbstractWorker.hasTaskFunction
Inherited from AbstractWorker.listTaskFunctions
Protected
messageThe received message.
Inherited from AbstractWorker.messageListener
Whether the task function existed and was removed or not.
https://nodejs.org/api/errors.html#class-typeerror If the name
parameter is not a string.
https://nodejs.org/api/errors.html#class-typeerror If the name
parameter is not a string or an empty string.
https://nodejs.org/api/errors.html#class-error If the name
parameter is the default task function reserved name.
Inherited from AbstractWorker.removeTaskFunction
Protected
runInherited from AbstractWorker.run
Protected
runTask function that will be executed.
Inherited from AbstractWorker.runAsync
Inherited from AbstractWorker.runInAsyncScope
Protected
runTask function that will be executed.
Inherited from AbstractWorker.runSync
Protected
sendProtected
sendSends the ready response to the main worker.
+Sends the list of task function names to the main worker.
Inherited from AbstractWorker.sendReadyResponse
+Inherited from AbstractWorker.sendTaskFunctionsListToMainWorker
Protected
sendSends a message to the main worker.
+Sends a message to main worker.
Overrides AbstractWorker.sendToMainWorker
Whether the default task function was set or not.
https://nodejs.org/api/errors.html#class-typeerror If the name
parameter is not a string.
https://nodejs.org/api/errors.html#class-typeerror If the name
parameter is not a string or an empty string.
https://nodejs.org/api/errors.html#class-error If the name
parameter is the default task function reserved name.
Inherited from AbstractWorker.setDefaultTaskFunction
Inherited from AbstractWorker.triggerAsyncId
Static
bindInherited from AbstractWorker.bind
Generated using TypeDoc
Generated using TypeDoc
+ \ No newline at end of file
Task function(s) processed by the worker when the pool's
execution
function is invoked.