apollo.Job
Class JobManager
java.lang.Object
|
+--apollo.Job.JobManager
- public class JobManager
- extends java.lang.Object
Method Summary |
void |
destroy()
|
Job |
getJob(int jobID)
Returns the Job object of any job still in the Manager, this includes all
running jobs. |
void |
startJob(Job job)
This starts the passed job. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JOB_UNINITIALIZED
public static final int JOB_UNINITIALIZED
JOB_RUNNING
public static final int JOB_RUNNING
JOB_FAILED
public static final int JOB_FAILED
JOB_FINISHED
public static final int JOB_FINISHED
JobManager
public JobManager(ManagerTracker MT)
startJob
public void startJob(Job job)
- This starts the passed job. The passed in Job will have it's ID set by this Manager
- Returns:
- The JobID of the started job
getJob
public Job getJob(int jobID)
- Returns the Job object of any job still in the Manager, this includes all
running jobs. If it nolonger in the manager, a database record pointer will be returned
instead of the original Job Object.
destroy
public void destroy()