public class ListActiveJobs
extends java.lang.Object
| Constructor and Description |
|---|
ListActiveJobs() |
| Modifier and Type | Method and Description |
|---|---|
long |
getElapsedTime()
Returns the elapsed time since job statistics were reset, in milliseconds.
|
JobInfo[] |
getJobs(CommandConnection conn,
boolean reset)
Returns an array of active jobs, sorted by subsystem and job name, the way WRKACTJOB does.
|
void |
getJobs(CommandConnection conn,
boolean reset,
ActiveJobsListener ajListener) |
public long getElapsedTime()
public JobInfo[] getJobs(CommandConnection conn, boolean reset) throws java.io.IOException
conn - The connection to use.reset - Indicates if the job statistics should be reset on this invocation, like F10 in WRKACTJOB does.java.io.IOExceptionpublic void getJobs(CommandConnection conn, boolean reset, ActiveJobsListener ajListener) throws java.io.IOException
java.io.IOException