Interface MonitoredJob

All Known Implementing Classes:
AbstractTask.CompletableMonitoredJob

public interface MonitoredJob
An individual job submitted to slurm, an which completion or failure needs to be monitored.
Author:
Sylvain Leclerc <sylvain.leclerc at rte-france.com>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    To be called by a monitor when the job has completed successfully.
    void
    To be called by a monitor when the job has completed but with an error (exit code !
    long
    This job ID in slurm
    void
    To be called by a monitor if the job is detected to have been killed before completing.
  • Method Details

    • getJobId

      long getJobId()
      This job ID in slurm
    • done

      void done()
      To be called by a monitor when the job has completed successfully.
    • failed

      void failed()
      To be called by a monitor when the job has completed but with an error (exit code != 0).
    • interrupted

      void interrupted()
      To be called by a monitor if the job is detected to have been killed before completing.