Interface GridJobListener


public interface GridJobListener
A listener class for GridJob that will be called at different stages during its life-cycle. To register your GridJobListener, set a fully-qualified n ame on GRID_JOB.LISTENER_CLASS.
  • Method Summary

    Modifier and Type Method Description
    void jobFinished​(GridJob job)
    This method will be called when a job is finished and its status is updated in the DB
    void taskFinished​(GridTask task, GridJob job)
    This method will be called when a task within a job is finished and the job status is updated in the DB
  • Method Details

    • taskFinished

      void taskFinished​(GridTask task, GridJob job)
      This method will be called when a task within a job is finished and the job status is updated in the DB
      Parameters:
      task - GridTask
      job - GridJob
    • jobFinished

      void jobFinished​(GridJob job)
      This method will be called when a job is finished and its status is updated in the DB
      Parameters:
      job - GridJob