Class sk.ipesoft.sgcom.production.TaskExecutorImpl. This text follows on from chapter 1.3.1.
The execution of tasks is controlled by a three-level structure, which is shown in the following figure.



Figure 14 - Three-level control structure for processing tasks on logical devices

The individual levels of the structure are:

  1. Association field - assigns a queue of logical devices to the identifier of the communication line. Each association array entry is serviced by a single thread from the ThreadPool for serving meters.
  2. A logical device queue along with an association field that associates a job queue with a logical device identifier. Connections to logical devices over the common link are made according to the order in the logical device queue.
  3. A queue of tasks to be executed on a given logical device.


Napíšte komentár