@InterfaceAudience.Public @InterfaceStability.Stable public class JobControl extends JobControl
Constructor and Description |
---|
JobControl(String groupName)
Construct a job control for a group of jobs.
|
Modifier and Type | Method and Description |
---|---|
void |
addJobs(Collection<Job> jobs)
Add a collection of jobs
|
ArrayList<Job> |
getFailedJobs() |
ArrayList<Job> |
getReadyJobs() |
ArrayList<Job> |
getRunningJobs() |
int |
getState() |
ArrayList<Job> |
getSuccessfulJobs() |
ArrayList<Job> |
getWaitingJobs() |
addJob, addJob, addJobCollection, allFinished, getFailedJobList, getReadyJobsList, getRunningJobList, getSuccessfulJobList, getThreadState, getWaitingJobList, resume, run, stop, suspend
public JobControl(String groupName)
groupName
- a name identifying this grouppublic void addJobs(Collection<Job> jobs)
jobs
- public int getState()
Copyright © 2021 Apache Software Foundation. All rights reserved.