Class Tentacles

  • All Implemented Interfaces:
    Strategy

    public class Tentacles
    extends AbstractStrategy
    This Strategy instance places the create directory jobs at the top of the graph. However instead of constricting it to an hour glass shape, this class links it to all the relevant nodes for which the create dir job is necessary. It is like that it spreads its tentacles all around. This potentially ends up putting more load on the DagMan with all the dependencies but removes the restriction of the plan progressing only when all the create directory jobs have progressed on the remote pools, as in the HourGlass model.
    Version:
    $Revision$
    Author:
    Karan Vahi, Gaurang Mehta
    • Constructor Detail

      • Tentacles

        public Tentacles()
    • Method Detail

      • addCreateDirectoryNodes

        public ADag addCreateDirectoryNodes​(ADag dag)
        Modifies the workflow to add create directory nodes. The workflow passed is a worklow, where the jobs have been mapped to sites.
        Parameters:
        dag - the workflow to which the nodes have to be added.
        Returns:
        the added workflow