X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FAbstractPool.html;h=e306ebe9c5021637043ffb8fb5f345c46cc09b4e;hb=4e1212db1d198963828820471bde6902277d0388;hp=d100e14889ec71c12977e9f0c175905c3351b81a;hpb=6d59ea2c71b8a88d41498c6fb54dfad95fd3a3ac;p=poolifier.git diff --git a/docs/classes/AbstractPool.html b/docs/classes/AbstractPool.html index d100e148..e306ebe9 100644 --- a/docs/classes/AbstractPool.html +++ b/docs/classes/AbstractPool.html @@ -1,13 +1,13 @@ -
Generated using TypeDoc
Generated using TypeDoc
+ \ No newline at end of file
Type of data sent to the worker. This can only be serializable data.
+Type of data sent to the worker. This can only be structured-cloneable data.
Response = unknown
-Type of execution response. This can only be serializable data.
+Type of execution response. This can only be structured-cloneable data.
-
+Index
Index
Constructors
-Properties
-Accessors
-Methods
-Constructors
constructor
+constructor
Type Parameters
Worker extends IWorker<Worker>
Worker extends IWorker
Data = unknown
Returns AbstractPool<Worker, Data, Response>
Properties
Emitter on which events can be listened to.
Events that can currently be listened to:
-
-
+
+
+
+
+
'full'
: Emitted when the pool is dynamic and full.'busy'
: Emitted when the pool is busy.'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 concurrently their tasks quota.'full'
: Emitted when the pool is dynamic and the number of workers created has reached the maximum size expected.'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 >= maximum queue size).Protected
Readonly
file
+Protected
Optional
Readonly
maxDynamic pool maximum size property placeholder.
+Protected
Readonly
numberProtected
Readonly
opts Response Map
-Protected
promiseThe execution response promise map.
+The task execution response promise map.
key
: The message id of each submitted task.value
: An object that contains the worker, the execution response promise resolve and reject callbacks. Timestamp
+Private
Readonly
startThe start timestamp of the pool.
+
+Private
startedWhether the pool is started or not.
+
+Private
Readonly
startingWhether the pool is starting or not.
+Protected
worker Nodes
-Readonly
worker Nodes
+Readonly
Internal
workerPool worker nodes.
Accessors
Returns boolean
Protected
full@@ -265,7 +324,7 @@
Returns boolean
info
@@ -277,58 +336,103 @@
Size
+Protected
Abstract
maxProtected
maxPool maximum size.
+The pool maximum size.
Returns number
+ Size
+Protected
Abstract
minProtected
minPool minimum size.
+The pool minimum size.
Returns number
+
+Private
ready+- get ready(): boolean
+-
+
+
The pool readiness boolean status.
+Returns boolean
+Protected
Abstract
typePool type.
+The pool type.
If it is
'dynamic'
, it provides themax
property.Returns "fixed" | "dynamic"
+
+Private
utilization+- get utilization(): number
+-
+
+
The approximate pool utilization.
+Returns number
The pool utilization.
+ +Protected
Abstract
worker-- get worker(): "cluster" | "thread"
+- get worker(): "thread" | "cluster"
-
-
-- Defined in src/pools/abstract-pool.ts:550
+
Task Execution Hook
+- Defined in src/pools/abstract-pool.ts:169
Pool Options
Gets the worker type.
+The worker type.
Returns "cluster" | "thread"
+Returns "thread" | "cluster"
+Methods
+ Worker Node
+Private
add+- add
Worker Node(worker): number
+-
+
+
+
+
+
Adds the given worker in the pool worker nodes.
+Parameters
++-
+
+
worker: Worker
+The worker.
+Returns number
The added worker node key.
+ +Throws
https://nodejs.org/api/errors.html#class-error If the added worker node is not found.
+Protected
after-- after
Task Execution Hook(worker, message): void
+- after
Task Execution Hook(workerNodeKey, message): void
-
-
-
-
-
-
-- Defined in src/pools/abstract-pool.ts:888
+
+ Worker Node Setup
+- Defined in src/pools/abstract-pool.ts:156
+
+
Number Of Workers
Hook executed after the worker task execution. Can be overridden.
@@ -337,39 +441,39 @@ Can be overridden.Parameters
worker: Worker
-The worker.
+workerNodeKey: number
+The worker node key.
message: MessageValue<Response, unknown, Worker | MessagePort>
+message: MessageValue<Response, unknown>
The received message.
Returns void
Worker Setup
+Protected
Abstract
afterProtected
after-- after
Worker Setup(worker): void
+- after
Worker Node Setup(workerNodeKey): void
-
-
-
-
+- Defined in src/pools/abstract-pool.ts:1162
Task Execution Hook
+- Defined in src/pools/abstract-pool.ts:858
Tasks Queue Options
-- Defined in src/pools/abstract-pool.ts:672
+
+
+
+ And Emit Task Execution Events
+
+
+
+
+- Defined in src/pools/abstract-pool.ts:187
File Path
Function that can be hooked up when a worker has been newly created and moved to the pool worker nodes.
-Can be used to update the
+maxListeners
or binding themain-worker
<->worker
connection if not bind by default.Method hooked up after a worker node has been newly created. +Can be overridden.
Parameters
worker: Worker
-The newly created worker.
+workerNodeKey: number
+The newly created worker node key.
Returns void
Protected
before@@ -394,7 +498,7 @@ Can be overridden.
Returns void
Private
build@@ -407,15 +511,46 @@ Can be overridden.
tasksQueueOptions: TasksQueueOptions
Returns TasksQueueOptions
- And Emit Events
+Private
check And Emit Dynamic Worker Creation Events
+Private
check+- check
And Emit Dynamic Worker Creation Events(): void
+-
+
Returns void
Private
check-- check
And Emit Events(): void
+- check
And Emit Task Execution Events(): void
+-
+
Returns void
And Emit Task Queuing Events
+Private
check+- check
And Emit Task Queuing Events(): void
+-
+
Returns void
Dynamic Pool Size
+Protected
check+- check
Dynamic Pool Size(min, max): void
-
+
+
Parameters
++-
+
+-
+
min: number
max: number
Returns void
Private
check@@ -428,7 +563,28 @@ Can be overridden.
filePath: string
Returns void
Message Worker Id
+Private
check+- check
Message Worker Id(message): void
+-
+
+
+
+
+
Checks if the worker id sent in the received message from a worker is valid.
+Parameters
++-
+
+
message: MessageValue<Response, unknown>
+The received message.
+Returns void
+Throws
https://nodejs.org/api/errors.html#class-error If the worker id is invalid.
+Private
check@@ -441,7 +597,7 @@ Can be overridden.
numberOfWorkers: number
Returns void
Private
check@@ -454,7 +610,7 @@ Can be overridden.
opts: PoolOptions<Worker>
Returns void
Private
check@@ -467,7 +623,7 @@ Can be overridden.
tasksQueueOptions: TasksQueueOptions
Returns void
Private
check@@ -480,7 +636,7 @@ Can be overridden.
workerChoiceStrategy: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "LEAST_ELU" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
Returns void
Private
check@@ -493,7 +649,7 @@ Can be overridden.
workerChoiceStrategyOptions: WorkerChoiceStrategyOptions
Returns void
Private
choose@@ -502,35 +658,35 @@ Can be overridden.
-
Chooses a worker node for the next task.
The default worker choice strategy uses a round robin algorithm to distribute the tasks.
Returns number
The worker node key
+Returns number
The chosen worker node key
And Setup Dynamic Worker
+Protected
createProtected
create-- create
And Setup Dynamic Worker(): Worker
+- create
And Setup Dynamic Worker Node(): number
-
-
-
-- Defined in src/pools/abstract-pool.ts:1105
+
+ And Setup Worker Node
+- Defined in src/pools/abstract-pool.ts:1483
- destroy(): Promise<void>
-
-
-- Defined in src/pools/abstract-pool.ts:803
+
+ Worker Node
+
+
+- Defined in src/pools/abstract-pool.ts:1227
Wait Time Worker Usage
+- Defined in src/pools/abstract-pool.ts:962
Listener
- worker
Listener(): ((message) => void)
-
-
- (message): void
-
-
-
-
+
+ - Defined in src/pools/abstract-pool.ts:1321
+
+
+
+
Creates a new dynamic worker and sets it up completely in the pool worker nodes.
+Creates a new, completely set up dynamic worker node.
Returns Worker
New, completely set up dynamic worker.
+Returns number
New, completely set up dynamic worker node key.
- And Setup Worker
+Protected
createProtected
create-- create
And Setup Worker(): Worker
+- create
And Setup Worker Node(): number
-
-
-- Defined in src/pools/abstract-pool.ts:1061
Worker
+- Defined in src/pools/abstract-pool.ts:1054
Task
Creates a new worker and sets it up completely in the pool worker nodes.
+Creates a new, completely set up worker node.
Returns Worker
New, completely set up worker.
+Returns number
New, completely set up worker node key.
+Protected
Abstract
create@@ -542,7 +698,7 @@ Can be overridden.
Private
dequeue@@ -555,63 +711,63 @@ Can be overridden.
workerNodeKey: number
Returns undefined | Task<Data>
destroy
Terminate every current worker in this pool.
+Terminates all workers in this pool.
Returns Promise<void>
- Worker
+Protected
Abstract
destroyProtected
Abstract
destroy-- destroy
Worker(worker): void | Promise<void>
+- destroy
Worker Node(workerNodeKey): Promise<void>
-
-
-
-
-
+- Defined in src/pools/abstract-pool.ts:834
- enable
Tasks Queue(enable, tasksQueueOptions?): void
-
-
-
-
+- Defined in src/pools/abstract-pool.ts:643
Task
+- Defined in src/pools/abstract-pool.ts:1477
-
-
+
+- flush
Tasks Queue(workerNodeKey): void
-
@@ -680,7 +850,7 @@ Can be overridden.
+- Defined in src/pools/abstract-pool.ts:1491
Tasks Queues
-
-
+
+
+
-- Defined in src/pools/abstract-pool.ts:1407
+
+ Worker Node Key By Worker
-
-
-- Defined in src/pools/abstract-pool.ts:591
+
+ Worker Node Key By Worker Id
+
+
+
+
+- Defined in src/pools/abstract-pool.ts:1339
+
+
+
+
Busy
- internal
Busy(): boolean
-
-
- Defined in src/pools/abstract-pool.ts:705
Main
-
-
+
+
+- Defined in src/pools/abstract-pool.ts:1202
Worker Message Listener
+- Defined in src/pools/abstract-pool.ts:1149
Worker Node
+- Defined in src/pools/abstract-pool.ts:1440
+
+
+
+
+
+
To Worker
+
Terminates the given worker.
+Terminates the worker node given its worker node key.
Parameters
worker: Worker
-A worker within
+workerNodes
.workerNodeKey: number
+The worker node key.
Returns void | Promise<void>
+Returns Promise<void>
enable Tasks Queue
Enables/disables the worker tasks queue in this pool.
+Enables/disables the worker node tasks queue in this pool.
Parameters
enable: boolean
-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.
Returns void
Private
enqueue@@ -626,11 +782,11 @@ Can be overridden.
task: Task<Data>
Returns number
execute
-- execute(data?, name?): Promise<Response>
+- execute(data?, name?, transferList?): Promise<Response>
-
@@ -639,12 +795,17 @@ Can be overridden.
-
-
+
+-
+
+- Defined in src/pools/abstract-pool.ts:747
Task
- execute
Task(workerNodeKey, task): void
-
+
-
-
+
+
-
-
-
+
Executes the specified function in the worker constructor with the task data input parameter.
-Optional
data: DataThe task input data for the specified worker function. This can only be serializable data.
+The optional task input data for the specified task function. This can only be structured-cloneable data.
-Optional
name: stringThe name of the worker function to execute. If not specified, the default worker function will be executed.
+The optional name of the task function to execute. If not specified, the default task function will be executed.
+
+Optional
transferList: TransferListItem[]An optional array of transferable objects to transfer ownership of. Ownership of the transferred objects is given to the pool's worker_threads worker and they should not be used in the main thread afterwards.
Returns Promise<Response>
Promise that will be fulfilled when the task is completed.
@@ -652,25 +813,34 @@ Can be overridden.Private
executeExecutes the given task on the worker given its worker node key.
+Parameters
workerNodeKey: number
workerNodeKey: number
+The worker node key.
+task: Task<Data>
Returns void
Returns void
+ Tasks Queue
-Private
flush+- Defined in src/pools/abstract-pool.ts:1471
Tasks Queue
+Protected
flushworkerNodeKey: number
Returns void
Private
flush@@ -688,24 +858,31 @@ Can be overridden.-
Returns void
Task Statistics
-Private
get-- get
Task Statistics(worker): TaskStatistics
+- Defined in src/pools/abstract-pool.ts:1501
Worker Info
+Protected
get+- get
Worker Info(workerNodeKey): WorkerInfo
-
+
-
-
-
Gets the worker information given its worker node key.
+Parameters
worker: Worker
Returns TaskStatistics
Returns WorkerInfo
The worker information.
+ + - Worker Node Key
+Private
getPrivate
get-- get
Worker Node Key(worker): number
+- get
Worker Node Key By Worker(worker): number
-
@@ -717,36 +894,98 @@ Can be overridden.
Gets the given worker its worker node key.
The worker.
Returns number
The worker node key if the worker is found in the pool worker nodes,
+-1
otherwise.Returns number
The worker node key if found in the pool worker nodes,
-1
otherwise. Worker Usage
+Private
getPrivate
get-- get
Worker Usage(worker): WorkerUsage
+- get
Worker Node Key By Worker Id(workerId): number
-
+
-
-
-
Gets the worker node key given its worker id.
+Parameters
worker: Worker
Returns WorkerUsage
Returns number
The worker node key if the worker id is found in the pool worker nodes,
+ + +-1
otherwise. Task Execution Response
+Private
handle+- handle
Task Execution Response(message): void
+-
+
+
+
Parameters
++-
+
message: MessageValue<Response, unknown>
Returns void
Worker Ready Response
+Private
handle+- handle
Worker Ready Response(message): void
+-
+
+
+
Parameters
++-
+
message: MessageValue<Response, unknown>
Returns void
Back Pressure
+Private
has+- has
Back Pressure(): boolean
+-
+
Returns boolean
has Worker Node Back Pressure
++- has
Worker Node Back Pressure(workerNodeKey): boolean
+
+
+
+
Internal
+Whether the worker node has back pressure (i.e. its tasks queue is full).
+Parameters
++-
+
+
workerNodeKey: number
+The worker node key.
+Returns boolean
+ +true
if the worker node has back pressure,false
otherwise.Protected
internalWhether worker nodes are executing at least one task.
+Whether worker nodes are executing concurrently their tasks quota or not.
Returns boolean
Worker nodes busyness boolean status.
+Protected
Abstract
is@@ -757,33 +996,39 @@ Can be overridden.
Returns boolean
Worker Node
-Private
push-- push
Worker Node(worker): number
+- Defined in src/pools/abstract-pool.ts:849
list Task Functions
++- list
Task Functions(): string[]
-
-
+
+
+
Pushes the given worker in the pool worker nodes.
+Lists the names of task function available in this pool.
Returns string[]
The names of task function available in this pool.
+ + + Queued Tasks
+Private
redistribute+- redistribute
Queued Tasks(workerNodeKey): void
+-
-
-
-
-
Parameters
worker: Worker
-The worker.
-Returns number
The worker nodes length.
- -Returns void
Protected
Abstract
register-- register
Worker Message Listener<Message>(worker, listener): void
+- register
Worker Message Listener<Message>(workerNodeKey, listener): void
-
-
-
-
-
@@ -812,12 +1057,12 @@ Can be overridden.
-
-
+
Registers a listener callback on the given worker.
+Registers a listener callback on the worker given its worker node key.
Type Parameters
@@ -794,8 +1039,8 @@ Can be overridden.Parameters
worker: Worker
-The worker which should register a listener.
+workerNodeKey: number
+The worker node key.
Parameters
message: MessageValue<Message, unknown, Worker | MessagePort>
message: MessageValue<Message, unknown>
Returns void
Returns void
Private
remove@@ -836,51 +1081,122 @@ Can be overridden.
Returns void
Kill Message To Worker
+Protected
send+- send
Kill Message To Worker(workerNodeKey, workerId): Promise<void>
+-
+
+
+
Parameters
++-
+
+-
+
workerNodeKey: number
workerId: number
Returns Promise<void>
Startup Message To Worker
+Protected
Abstract
send+- send
Startup Message To Worker(workerNodeKey): void
+-
+
+
+
+
Sends the startup message to worker given its worker node key.
+Parameters
++-
+
+
workerNodeKey: number
+The worker node key.
+Returns void
+ Statistics Message To Worker
+Private
send+- send
Statistics Message To Worker(workerNodeKey): void
+-
+
+
+
+
Sends the statistics message to worker given its worker node key.
+Parameters
++-
+
+
workerNodeKey: number
+The worker node key.
+Returns void
+Protected
Abstract
send-- send
To Worker(worker, message): void
+- send
To Worker(workerNodeKey, message, transferList?): void
-
-
-
-
-
-
+
+-
+
+- Defined in src/pools/abstract-pool.ts:1043
- set
Tasks Queue Options(tasksQueueOptions): void
-
-
-
+- Defined in src/pools/abstract-pool.ts:655
+
+
+- Defined in src/pools/abstract-pool.ts:610
-
-- Defined in src/pools/abstract-pool.ts:629
+
+
+
+ Create Dynamic Worker
- Defined in src/pools/abstract-pool.ts:975
Run Time Worker Usage
+
- Defined in src/pools/abstract-pool.ts:948
Task Statistics Worker Usage
+
Sends a message to the given worker.
+Sends a message to worker given its worker node key.
Parameters
worker: Worker
-The worker which should receive the message.
+workerNodeKey: number
+The worker node key.
message: MessageValue<Data, unknown, Worker | MessagePort>
+message: MessageValue<Data, unknown>
The message.
+Optional
transferList: TransferListItem[]The optional array of transferable objects.
+Returns void
set Tasks Queue Options
Sets the worker tasks queue options in this pool.
+Sets the worker node tasks queue options in this pool.
Parameters
tasksQueueOptions: TasksQueueOptions
-The worker tasks queue options.
+The worker node tasks queue options.
Returns void
Tasks Queue Size
+Private
set+- set
Tasks Queue Size(size): void
+-
+
+
+
Parameters
++-
+
size: number
Returns void
set Worker Choice Strategy
@@ -905,7 +1221,7 @@ Can be overridden.
set Worker Choice Strategy Options
@@ -925,68 +1241,85 @@ Can be overridden.
Worker Node Tasks Usage
+Private
set Hook
+Protected
setup+- setup
Hook(): void
+-
+
+
Setup hook to execute code before worker nodes are created in the abstract constructor. +Can be overridden.
+Returns void
+Private
shall-- set
Worker Node Tasks Usage(workerNode, workerUsage): void
+- shall
Create Dynamic Worker(): boolean
-
-
+
+
+- Defined in src/pools/abstract-pool.ts:1487
+
+
Elu Worker Usage
+
Sets the given worker node its tasks usage in the pool.
+Conditions for dynamic worker creation.
Returns boolean
Whether to create a dynamic worker or not.
+ + + Execute Task
+Private
shall+- shall
Execute Task(workerNodeKey): boolean
+-
-
-
+
+
+
-
-
-
-
+- Defined in src/pools/abstract-pool.ts:1246
Queue Size
Parameters
workerNode: WorkerNode<Worker, Data>
-The worker node.
+workerNodeKey: number
Returns boolean
Update Task Function Worker Usage
+Private
shall+- shall
Update Task Function Worker Usage(workerNodeKey): boolean
+-
+
-
+
+-
-
-
-
-- Defined in src/pools/abstract-pool.ts:921
+
+ Pool
+
+
Whether the worker node shall update its task function worker usage or not.
Parameters
+workerUsage: WorkerUsage
-The worker usage.
+workerNodeKey: number
+The worker node key.
Returns void
+Returns boolean
+true
if the worker node shall update its task function worker usage,false
otherwise. Worker Statistics
+Private
setPrivate
start-- set
Worker Statistics(worker): void
+- start
Pool(): void
+-
+
Returns void
Stealing On Empty Queue
+Private
task+- task
Stealing On Empty Queue(workerId): void
-
-
-
+
Parameters
worker: Worker
workerId: number
Returns void
Hook
-Protected
setup-- setup
Hook(): void
--
-
-
Setup hook to execute code before worker node are created in the abstract constructor. -Can be overridden
-Returns void
- Create Dynamic Worker
-Private
shall-- shall
Create Dynamic Worker(): boolean
--
-
-
Conditions for dynamic worker creation.
-Returns boolean
Whether to create a dynamic worker or not.
- -Private
tasks@@ -999,7 +1332,20 @@ Can be overridden
workerNodeKey: number
Returns number
Stealing On Back Pressure
+Private
tasks+- tasks
Stealing On Back Pressure(workerId): void
+-
+
+
+
Parameters
++-
+
workerId: number
Returns void
Private
update@@ -1011,10 +1357,10 @@ Can be overridden-
-
-
workerUsage: WorkerUsage
message: MessageValue<Response, unknown, Worker | MessagePort>
message: MessageValue<Response, unknown>
Returns void
+Private
update@@ -1026,10 +1372,10 @@ Can be overridden-
-
-
workerUsage: WorkerUsage
message: MessageValue<Response, unknown, Worker | MessagePort>
message: MessageValue<Response, unknown>
Returns void
+Private
update@@ -1041,10 +1387,25 @@ Can be overridden-
-
-
workerUsage: WorkerUsage
message: MessageValue<Response, unknown, Worker | MessagePort>
message: MessageValue<Response, unknown>
Returns void
Task Stolen Statistics Worker Usage
+Private
update+- update
Task Stolen Statistics Worker Usage(workerNodeKey, taskName): void
+-
+
+
Parameters
++-
+
+-
+
workerNodeKey: number
taskName: string
Returns void
Private
update@@ -1059,13 +1420,13 @@ Can be overridden
task: Task<Data>
Returns void
Protected
workerThis function is the listener registered for each worker message.
+This method is the listener registered for each worker message.
Returns ((message) => void)
The listener function to execute when a message is received from a worker.
@@ -1074,32 +1435,32 @@ Can be overriddenThis function is the listener registered for each worker message.
+This method is the listener registered for each worker message.
Parameters
message: MessageValue<Response, unknown, Worker | MessagePort>
message: MessageValue<Response, unknown>
Returns void
The listener function to execute when a message is received from a worker.
-
+Settings
Settings
Member Visibility
Theme
@@ -1109,9 +1470,13 @@ Can be overridden- constructor
- emitter
- file
Path
+- max
- number
Of Workers
- opts
- promise
Response Map
+- start
Timestamp
+- started
+- starting
- worker
Choice Strategy Context
- worker
Nodes
- busy
@@ -1119,116 +1484,99 @@ Can be overridden
- info
- max
Size
- min
Size
+- ready
- type
+- utilization
- worker
+- add
Worker Node
- after
Task Execution Hook
-- after
Worker Setup
+- after
Worker Node Setup
- before
Task Execution Hook
- build
Tasks Queue Options
-- check
And Emit Events
+- check
And Emit Dynamic Worker Creation Events
+- check
And Emit Task Execution Events
+- check
And Emit Task Queuing Events
+- check
Dynamic Pool Size
- check
File Path
+- check
Message Worker Id
- check
Number Of Workers
- check
Pool Options
- check
Valid Tasks Queue Options
- check
Valid Worker Choice Strategy
- check
Valid Worker Choice Strategy Options
- choose
Worker Node
-- create
And Setup Dynamic Worker
-- create
And Setup Worker
+- create
And Setup Dynamic Worker Node
+- create
And Setup Worker Node
- create
Worker
- dequeue
Task
- destroy
-- destroy
Worker
+- destroy
Worker Node
- enable
Tasks Queue
- enqueue
Task
- execute
- execute
Task
-- flush
Tasks Queue
+- flush
Tasks Queue
- flush
Tasks Queues
-- get
Task Statistics
-- get
Worker Node Key
-- get
Worker Usage
+- get
Worker Info
+- get
Worker Node Key By Worker
+- get
Worker Node Key By Worker Id
+- handle
Task Execution Response
+- handle
Worker Ready Response
+- has
Back Pressure
+- has
Worker Node Back Pressure
- internal
Busy
- is
Main
-- push
Worker Node
+- list
Task Functions
+- redistribute
Queued Tasks
- register
Worker Message Listener
- remove
Worker Node
+- send
Kill Message To Worker
+- send
Startup Message To Worker
+- send
Statistics Message To Worker
- send
To Worker
- set
Tasks Queue Options
+- set
Tasks Queue Size
- set
Worker Choice Strategy
- set
Worker Choice Strategy Options
-- set
Worker Node Tasks Usage
-- set
Worker Statistics
- setup
Hook
- shall
Create Dynamic Worker
+- shall
Execute Task
+- shall
Update Task Function Worker Usage
+- start
Pool
+- task
Stealing On Empty Queue
- tasks
Queue Size
+- tasks
Stealing On Back Pressure
- update
Elu Worker Usage
- update
Run Time Worker Usage
- update
Task Statistics Worker Usage
+- update
Task Stolen Statistics Worker Usage
- update
Wait Time Worker Usage
- worker
Listener