Class ScheduledJobLoader

    • Method Detail

      • exec

        public void exec​(JobEntry job,
                         String name)
                  throws Exception
        Attempts to load and execute the external ScheduledJob.
        Parameters:
        job - The JobEntry.
        name - Name of object that will execute the job.
        Throws:
        Exception - a generic exception.
      • exec

        @Deprecated
        public void exec​(PipelineData pipelineData,
                         String name)
                  throws Exception
        Deprecated.
        Attempts to load and execute the external ScheduledJob. HELP! - THIS IS UGLY! I want the cache stuff from GenericLoader, BUT, I don't think the scheduler needs the PipelineData object. The scheduler runs independently of an HTTP request. This should not extend GenericLoader! Thoughts??
        Specified by:
        exec in class GenericLoader<ScheduledJob>
        Parameters:
        pipelineData - Turbine information.
        name - Name of object that will execute the job.
        Throws:
        Exception - a generic exception.
      • getInstance

        public static ScheduledJobLoader getInstance()
        The method through which this class is accessed.
        Returns:
        The single instance of this class.