X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedThreadPool.html;h=0ba79d7ac18e75fc1c681e2bc67fe6f4684d0af7;hb=a1e5b51ea192bdcad4751d1f4facc19498ee4f1d;hp=5dff496fcdbe079d7bc3f674f45786369c13b47a;hpb=e4b9c7f546318de7603566b141fd0e2d0118c794;p=poolifier.git diff --git a/docs/classes/FixedThreadPool.html b/docs/classes/FixedThreadPool.html index 5dff496f..0ba79d7a 100644 --- a/docs/classes/FixedThreadPool.html +++ b/docs/classes/FixedThreadPool.html @@ -33,7 +33,7 @@
Readonly
filePath to the worker-file.
+Path to the worker file.
Readonly
numberReadonly
optsProtected
promiseThe execution response promise map.
key
: The message id of each submitted task.Protected
workerReadonly
workerProtected
busyWhether the pool is busy or not.
@@ -209,10 +212,10 @@Protected
fullWhether the pool is full or not.
@@ -221,7 +224,7 @@Private
numberPrivate
numberPool type.
If it is 'dynamic'
, it provides the max
property.
Inherited from AbstractPool.afterTaskExecutionHook
Protected
afterOverrides AbstractPool.afterWorkerSetup
Protected
beforeInherited from AbstractPool.beforeTaskExecutionHook
Protected
chooseInherited from AbstractPool.chooseWorkerNode
Protected
createInherited from AbstractPool.createAndSetupWorker
Protected
createOverrides AbstractPool.createWorker
Inherited from AbstractPool.destroy
Protected
destroyShutdowns the given worker.
@@ -385,13 +388,35 @@ Can be overridden.Overrides AbstractPool.destroyWorker
Enables/disables the worker tasks queue in this pool.
+Whether to enable or disable the worker tasks queue.
+Optional
tasksQueueOptions: TasksQueueOptionsThe worker tasks queue options.
+Inherited from AbstractPool.enableTasksQueue
+Performs the task specified in the constructor with the data parameter.
+Executes the function specified in the constructor with the task data input parameter.
Promise that will be resolved when the task is successfully completed.
The input for the specified task. This can only be serializable data.
+The task input data for the specified function. This can only be serializable data.
Inherited from AbstractPool.execute
Inherited from AbstractPool.findFreeWorkerNodeKey
Protected
internalInherited from AbstractPool.internalBusy
Protected
isOverrides AbstractPool.isMain
Protected
registerRegisters a listener callback on the given worker.
@@ -478,7 +503,7 @@ Can be overridden.Overrides AbstractPool.registerWorkerMessageListener
Protected
sendOverrides AbstractPool.sendToWorker
Sets the worker tasks queue options in this pool.
+The worker tasks queue options.
+Inherited from AbstractPool.setTasksQueueOptions
+Sets the worker choice strategy in this pool.
The worker choice strategy.
+Optional
workerChoiceStrategyOptions: WorkerChoiceStrategyOptionsThe worker choice strategy options.
Inherited from AbstractPool.setWorkerChoiceStrategy
Sets the worker choice strategy options in this pool.
+The worker choice strategy options.
+Inherited from AbstractPool.setWorkerChoiceStrategyOptions
+Protected
setupInherited from AbstractPool.setupHook
Protected
workerInherited from AbstractPool.workerListener
Type of response of execution. This can only be serializable data.
+Type of execution response. This can only be serializable data.
Hierarchy
@@ -44,7 +44,7 @@@@ -66,8 +66,8 @@