CRecordAddJobEngineThread

A queue of workers waiting in front of a machine, van Gogh

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",
  "isService": "false",
  "namespaces": "",
  "description": "Add a thread.",
  "slots": [
    {
      "key": "1",
      "name": "NAME",
      "direction": "REQUEST",
      "mandatory": "true",
      "type": "STRING",
      "description": "The name of the thread."
    },
    {
      "key": "2",
      "name": "PRIORITY",
      "direction": "REQUEST",
      "mandatory": "true",
      "type": "INT",
      "description": "The priority of the thread (1-10)."
    },
    {
      "key": "3",
      "name": "MAX_JOBS",
      "direction": "REQUEST",
      "mandatory": "true",
      "type": "INT",
      "description": "The maximum amount of jobs the thread will perform at the same time (1-1000)."
    }
  ]
}

See also

nyssr.net - Innovative Distributed System