Name: | EDPluginControl |
Project: | kernel |
Path: | kernel/src/EDPluginControl.py |
Author: | Marie-Francoise Incardona, Olof Svensson |
Date: | |
Copyright: | European Synchrotron Radiation Facility, Grenoble, France |
License: | LGPLv3+ |
Module doc: | |
Class doc: | An EDPluginControl is a plugin that is responsible for a EDPluginExec or EDPluginControl plugin execution: It is responsible for: - The EDPluginExec or EDPluginControl Workflow - The data propagation between the EDPluginExec - The translation between generic and specific data models via EDHandler classes - The error/warning propagation - The executive summaries propagation - Execution of an "action cluster": a set of plugins can be added to a so called "action cluster" with the method "addPluginToActionCluster". All the plugins in the cluster can then be executed simultaneously with the method "executeActionCluster" and synchronized with the method "synchronizeActionCluster". The number of threads used by the action cluster is by default the number of processors available on the computer, but this value can be changed either by calling the method "setClusterSize" or by using the configuration parameter "clusterSize". |