X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FAbstractWorker.html;h=a82edebe09444cd3162070324281c76882dfe812;hb=c065162cbd0458f984708314dcf5e80c7777077a;hp=3897c5873d3bb7117d1d6df1b8f5065ea624d1e8;hpb=08e40091fb1d27284ffcdfaced81292139a02c55;p=poolifier.git diff --git a/docs/classes/AbstractWorker.html b/docs/classes/AbstractWorker.html index 3897c587..a82edebe 100644 --- a/docs/classes/AbstractWorker.html +++ b/docs/classes/AbstractWorker.html @@ -1,4 +1,4 @@ -
Protected
Optional
aliveProtected
Readonly
isProtected
lastProtected
Readonly
mainProtected
Readonly
optsProtected
statisticsProtected
taskhttps://nodejs.org/api/errors.html#class-typeerror If the fn
parameter is not a function.
Private
beginOptional
name: stringPrivate
checkPrivate
checkPrivate
checkPrivate
checkPrivate
checkPrivate
endProtected
getPrivate
gethttps://nodejs.org/api/errors.html#class-error If the task function is not found.
Protected
handlehttps://nodejs.org/api/errors.html#class-typeerror If the name
parameter is not a string.
Protected
messageMessage received.
+The received message.
https://nodejs.org/api/errors.html#class-error If the name
parameter is the task function used as default task function.
Protected
runhttps://nodejs.org/api/errors.html#class-error If the task function is not found.
Protected
runProtected
runProtected
sendProtected
Abstract
sendSets the default task function to use when no task function name is specified.
+Sets the default task function to use in the worker.
https://nodejs.org/api/errors.html#class-error If the name
parameter is a non-existing task function.
Private
startPrivate
startStarts the worker alive check interval.
+Starts the worker check active interval.
Private
stopPrivate
stopStops the worker alive check interval.
+Stops the worker check active interval.
Protected
workerPrivate
updateStatic
bindInherited from AsyncResource.bind
Handler id of the
+aliveInterval
worker alive check. Interval
+Protected
Optional
activeHandler id of the
activeInterval
worker activity check.Protected
Abstract
id