Package com.onenetwork.platform.grid
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 DBvoid
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
This method will be called when a task within a job is finished and the job status is updated in the DB -
jobFinished
This method will be called when a job is finished and its status is updated in the DB- Parameters:
job
-GridJob
-