Package net.sf.basedb.opengrid.engine
Class SlurmEngine.PendingJobsCmd
java.lang.Object
net.sf.basedb.opengrid.CmdResult<List<String>>
net.sf.basedb.opengrid.engine.SlurmEngine.PendingJobsCmd
- Enclosing class:
SlurmEngine
Issue an 'squeue' command that get a list of pending jobs sorted in priority
order as of this moment. The result is a list of job ID values that we can use
to check the queue number for jobs that are pending.
- Since:
- 1.13
-
Nested Class Summary
Nested classes/interfaces inherited from class net.sf.basedb.opengrid.CmdResult
CmdResult.DateResult, CmdResult.StdioResult
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
This method is called after the command has been executed and the exit code, stdout and stderr has been updated.Methods inherited from class net.sf.basedb.opengrid.CmdResult
asJSONObject, getCmd, getException, getExitStatus, getHardTimeout, getResult, getStderr, getStdout, setException, setExitStatus, setResult, setStderr, setStdout, throwExceptionIfNonZeroExitStatus, toString
-
Constructor Details
-
PendingJobsCmd
public PendingJobsCmd()
-
-
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 classCmdResult<List<String>>
-