Class SlurmEngine.StatusCmd

java.lang.Object
net.sf.basedb.opengrid.CmdResult<JobStatus>
net.sf.basedb.opengrid.engine.SlurmEngine.StatusCmd
Enclosing class:
SlurmEngine

public static class SlurmEngine.StatusCmd extends CmdResult<JobStatus>
Implementation for getting information about a running or finished job. We simply 'cat' the STATUS_FILE for the job and expect useful information to be in there.
  • Field Details

    • jobId

      private final JobIdentifier jobId
    • timeAdjustment

      private final int timeAdjustment
  • Constructor Details

  • Method Details

    • parseResult

      protected void parseResult()
      Description copied from class: CmdResult
      This method is called after the command has been executed and the exit code, stdout and stderr has been updated. Subclasses can override this method to take actions. The default implementation does nothing.
      Overrides:
      parseResult in class CmdResult<JobStatus>