X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FAbstractPool.html;h=d7c1a3d61996c22fecaacad3ea76b8e772c1402f;hb=36df5bd40369d98d6ccb60400e66dce1aa980d54;hp=b715f58252fedfcb65551a488c2456133f908429;hpb=984910dc4377061815ef8cb33a6dc91dfc35be3c;p=poolifier.git diff --git a/docs/classes/AbstractPool.html b/docs/classes/AbstractPool.html index b715f582..d7c1a3d6 100644 --- a/docs/classes/AbstractPool.html +++ b/docs/classes/AbstractPool.html @@ -1,4 +1,4 @@ -
Events that can currently be listened to:
'full'
: Emitted when the pool is dynamic and the number of workers created has reached the maximum size expected.'ready'
: Emitted when the number of workers created in the pool has reached the maximum size expected and are ready.'ready'
: Emitted when the number of workers created in the pool has reached the minimum size expected and are ready.'busy'
: Emitted when the number of workers created in the pool has reached the maximum size expected and are executing at least one task.'error'
: Emitted when an uncaught error occurs.'taskError'
: Emitted when an error occurs while executing a task.Protected
Readonly
fileProtected
Readonly
numberProtected
Readonly
optsProtected
promisePrivate
Readonly
startPrivate
Readonly
startingProtected
workerReadonly
workerProtected
fullProtected
Abstract
maxProtected
Abstract
minPrivate
readyPrivate
startingProtected
Abstract
typePrivate
utilizationProtected
Abstract
workerPrivate
addProtected
afterProtected
afterProtected
beforePrivate
buildPrivate
checkProtected
checkPrivate
checkPrivate
checkChecks if the worker id sent in the received message from a worker is valid.
+https://nodejs.org/api/errors.html#class-error If the worker id is invalid.
+Private
checkPrivate
checkPrivate
checkPrivate
checkPrivate
checkPrivate
chooseProtected
createProtected
createProtected
Abstract
createPrivate
dequeueProtected
Abstract
destroyPrivate
enqueuePrivate
executeExecutes the given task on the given worker.
+Private
flushPrivate
flushPrivate
getPrivate
getPrivate
getPrivate
handlePrivate
handlePrivate
handleProtected
internalProtected
Abstract
isPrivate
pushPrivate
redistributePrivate
registerPrivate
removeProtected
Abstract
sendPrivate
sendPrivate
setProtected
setupPrivate
shallPrivate
tasksPrivate
updatePrivate
updatePrivate
updatePrivate
updateProtected
worker
Whether the pool is starting or not.
+