CRecordAddJobEngineThread

This message is used to add a new thread to a job engine.
This message is sent internally to the Job Engine when the appendThread()
method is called. However, it can also be sent to an engine by its owner.
The priority of the thread can be specified with a number between 1 (very low) and 10 (very high).
The maximum number of targets in a job engine thread is limited to 1-1000.
{
"id": "5a75a266-303a-44da-9e33-47db05841678",
"name": "ADD_JOB_ENGINE_THREAD",
"isNanoService": "false",
"namespaces": "",
"description": "Add a thread.",
"slots": [
{
"key": "1",
"name": "NAME",
"direction": "REQUEST",
"presenceConstraint": "MANDATORY",
"type": "STRING",
"description": "The name of the thread."
},
{
"key": "2",
"name": "PRIORITY",
"direction": "REQUEST",
"presenceConstraint": "MANDATORY",
"type": "INT",
"description": "The priority of the thread (1-10)."
},
{
"key": "3",
"name": "MAX_JOBS",
"direction": "REQUEST",
"presenceConstraint": "MANDATORY",
"type": "INT",
"description": "The maximum amount of jobs the thread will perform at the same time (1-1000)."
}
]
}
See also
Related Pages
CRecordNoMoreJobs
CRecordNoMoreJobs message: This notification is sent by the nyssr.net Job Engine to the owner when there is no more job in progress.
CRecordAddJob
CRecordAddJob message: Used to add a new IJob to the nyssr.net Job Engine queue, where it awaits processing in a job thread of the corresponding priority.
CRecordNotifyJobFinished
CRecordNotifyJobFinished message: Internally sent from a job thread to the nyssr.net Job Engine to signal job completion (including name, ID, and elapsed time).
CRecordRemoveJob
CRecordRemoveJob message: Used to remove a job (by its JOB_ID) from the nyssr.net Job Engine, regardless of whether the job is queued or actively running.
CRecordGetQueueInfo
CRecordGetQueueInfo message: Retrieve detailed information about a message queue, including its status, synchronicity, and thread details in nyssr.net.
EThreadPriority
The EThreadPriority enumeration defines ten standardized priority levels for threads in NYSSR, ranging from LOWEST (1) to HIGHEST (10), used for resource allocation and management, e.g., in the Job En