X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Fclasses%2FFixedClusterPool.html;h=d626a13078bc4e47f2b438e7073fdcc85ca848df;hb=21402562176f7550bcd9ba620cf551972fca6e98;hp=7c57b50caa25318404d5db0f6af689cc83fd482d;hpb=a34454964733f585af19a04f21f9e35eb18c77b1;p=poolifier.git
diff --git a/docs/classes/FixedClusterPool.html b/docs/classes/FixedClusterPool.html
index 7c57b50c..d626a130 100644
--- a/docs/classes/FixedClusterPool.html
+++ b/docs/classes/FixedClusterPool.html
@@ -44,7 +44,7 @@
+Defined in src/pools/cluster/fixed.ts:39
@@ -132,7 +126,7 @@
+Defined in src/pools/cluster/fixed.ts:50
Readonly
filePath
filePath: string
@@ -150,7 +144,7 @@
+Defined in src/pools/abstract-pool.ts:68
Readonly
numberOfWorkers
numberOfWorkers: number
@@ -158,7 +152,7 @@
+Defined in src/pools/abstract-pool.ts:67
Readonly
opts
@@ -166,20 +160,20 @@
+Defined in src/pools/cluster/fixed.ts:53
Protected
promiseResponseMap
promiseResponseMap: Map<string, PromiseResponseWrapper<Worker, Response>> = ...
-
+Defined in src/pools/abstract-pool.ts:53
Readonly
workerNodes
workerNodes: WorkerNode<Worker, Data>[] = []
@@ -196,7 +190,7 @@
Inherit Doc
+Defined in src/pools/abstract-pool.ts:30
+Defined in src/pools/cluster/fixed.ts:104
Private
numberOfQueuedTasks
+Defined in src/pools/abstract-pool.ts:166
Private
numberOfRunningTasks
+Defined in src/pools/abstract-pool.ts:156
+Defined in src/pools/cluster/fixed.ts:99
Protected
afterWorkerSetup
+Defined in src/pools/cluster/fixed.ts:93
Protected
beforePromiseResponseHook
+Defined in src/pools/abstract-pool.ts:298
Protected
chooseWorkerNode
+Defined in src/pools/abstract-pool.ts:342
Protected
createAndSetupWorker
+Defined in src/pools/abstract-pool.ts:408
-
-Protected
dequeueTask
-
-- dequeueTask(workerNodeKey: number): undefined | Task<Data>
--
-
-
Returns undefined | Task<Data>
+Defined in src/pools/cluster/fixed.ts:88
+Defined in src/pools/abstract-pool.ts:261
-
-Protected
enqueueTask
-
-- enqueueTask(workerNodeKey: number, task: Task<Data>): void
--
-
-
Parameters
-
--
-
workerNodeKey: number
--
-
task: Task<Data>
-Returns void
+Defined in src/pools/cluster/fixed.ts:69
+Defined in src/pools/abstract-pool.ts:236
-
-Protected
flushTasksQueue
-
-- flushTasksQueue(workerNodeKey: number): void
--
-
-
Returns void
-
-Protected
flushTasksQueueByWorker
-
-- flushTasksQueueByWorker(worker: Worker): void
--
-
-
Returns void
+Defined in src/pools/abstract-pool.ts:229
+Defined in src/pools/abstract-pool.ts:221
+Defined in src/pools/cluster/fixed.ts:64
registerWorkerMessageListener
-
-Protected
removeWorkerNode
-
-- removeWorkerNode(worker: Worker): void
--
-
-
-
Returns void
+Defined in src/pools/cluster/fixed.ts:80
+Defined in src/pools/cluster/fixed.ts:75
+Defined in src/pools/abstract-pool.ts:189
-
-Protected
tasksQueueLength
-
-- tasksQueueLength(workerNodeKey: number): number
--
-
-
Returns number
+Defined in src/pools/cluster/fixed.ts:59
Protected
workerListener
@@ -622,7 +526,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:431
The promise response map.
+The execution response promise map.
key
: The message id of each submitted task.value
: An object that contains the worker, the promise resolve and reject callbacks.value
: An object that contains the worker, the execution response promise resolve and reject callbacks.When we receive a message from the worker we get a map entry with the promise resolve/reject bound to the message.
+When we receive a message from the worker, we get a map entry with the promise resolve/reject bound to the message id.
Protected
worker