X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FAbstractWorker.html;h=414fd92acf39b338d3e544da1e288312af260dbe;hb=a109e1c64ce3cff450fa79aebfa4de0ac3662be9;hp=c4da792dfd210020c6d059c52cf65adc5eb494aa;hpb=8d20e449d72975f6add9177d1097d5a204d14f71;p=poolifier.git diff --git a/docs/classes/AbstractWorker.html b/docs/classes/AbstractWorker.html index c4da792d..414fd92a 100644 --- a/docs/classes/AbstractWorker.html +++ b/docs/classes/AbstractWorker.html @@ -1,4 +1,4 @@ -
Reference to main worker.
Protected
Optional
Readonly
aliveProtected
Optional
aliveHandler id of the aliveInterval
worker alive check.
Protected
Abstract
idWorker id.
+Protected
Readonly
isProtected
lastProtected
mainProtected
Readonly
mainReference to main worker.
Protected
Readonly
optsProtected
statisticsPerformance statistics computation requirements.
+Protected
taskPrivate
beginProtected
checkPrivate
checkChecks if the worker should be terminated, because its living too long.
@@ -236,7 +268,15 @@Private
checkPrivate
checkPrivate
checkPrivate
endProtected
getPrivate
getProtected
handleThe error raised by the worker.
Message of the error.
+The error message.
Protected
messageMessage received.
Protected
runInput data for the given function.
Protected
runInput data for the given function.
Protected
Abstract
sendThe response message.
Private
startPrivate
stopProtected
workerStatic
bindGenerated using TypeDoc
Type of data this worker receives from pool's execution. This can only be serializable data.
+Type of data this worker receives from pool's execution. This can only be structured-cloneable data.
Response = unknown
-Type of response the worker sends back to the main worker. This can only be serializable data.
+Type of response the worker sends back to the main worker. This can only be structured-cloneable data.
@@ -60,20 +60,25 @@
alive Interval?
+id
is Main
last Task Timestamp
main Worker
opts
+statistics
task Functions
async Id
+begin Task Performance
bind
-check Alive
+check Alive
+check Statistics
check Task Functions
check Worker Options
emit Destroy
+end Task Performance
get Main Worker
get Task Function
handle Error
@@ -82,7 +87,10 @@
run In Async Scope
run Sync
send To Main Worker
+start Check Alive
+stop Check Alive
trigger Async Id
+worker Ready
bind
Properties
Methods