X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FAbstractPool.html;h=00d68b3d181866d60a64610ffe52a9cd7260643a;hb=969223ea18802a84dfea369e254332e11bf8e419;hp=2fe2f7cd195f2bbd6499945eb63d4dad225ffc0c;hpb=fa5bdff51f129cada6116f34289dfe5a16bb4c9e;p=poolifier.git diff --git a/docs/classes/AbstractPool.html b/docs/classes/AbstractPool.html index 2fe2f7cd..00d68b3d 100644 --- a/docs/classes/AbstractPool.html +++ b/docs/classes/AbstractPool.html @@ -1,4 +1,4 @@ -
destroy
': Emitted when the pool is destroyed.'error'
: Emitted when an uncaught error occurs.'taskError'
: Emitted when an error occurs while executing a task.'backPressure'
: Emitted when all worker nodes have back pressure (i.e. their tasks queue is full: queue size >= pool maximum size^2).'backPressure'
: Emitted when all worker nodes have back pressure (i.e. their tasks queue is full: queue size >= maximum queue size).Protected
Readonly
fileProtected
Optional
Readonly
maxProtected
Readonly
numberProtected
Readonly
optsProtected
promisePrivate
Readonly
startPrivate
startedPrivate
Readonly
startingProtected
workerReadonly
Internal
workerProtected
fullProtected
maxProtected
minPrivate
readyProtected
Abstract
typePrivate
utilizationProtected
Abstract
workerhttps://nodejs.org/api/errors.html#class-error If the added worker node is not found.
Protected
afterProtected
afterProtected
beforePrivate
buildPrivate
checkPrivate
checkPrivate
checkProtected
checkPrivate
checkPrivate
checkhttps://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
destroyEnables/disables the worker tasks queue in this pool.
+Enables/disables the worker node tasks queue in this pool.
Whether to enable or disable the worker tasks queue.
+Whether to enable or disable the worker node tasks queue.
Optional
tasksQueueOptions: TasksQueueOptionsThe worker tasks queue options.
+The worker node tasks queue options.
Private
enqueuePrivate
executeProtected
flushPrivate
flushProtected
getGets the worker information given its worker node key.
The worker node key.
The worker information.
+The worker information.
Private
getPrivate
getPrivate
handlePrivate
handlePrivate
hasProtected
internalProtected
Abstract
isPrivate
redistributeProtected
Abstract
registerPrivate
removeProtected
sendProtected
Abstract
sendPrivate
sendProtected
Abstract
sendPrivate
setSets the worker tasks queue options in this pool.
+Sets the worker node tasks queue options in this pool.
The worker tasks queue options.
+The worker node tasks queue options.
Protected
setupPrivate
shallPrivate
shallPrivate
startPrivate
taskPrivate
tasksPrivate
tasksPrivate
updatePrivate
updatePrivate
updatePrivate
updateProtected
worker
Whether the pool is started or not.
+