|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IBatchJobManager
Interface for a manager that manages Batch Jobs
| Method Summary | |
|---|---|
IBatchJobInfo |
addMerge(java.lang.String jobId,
java.lang.String jobName,
java.lang.String userAccount,
java.lang.String timeUse,
IBatchJobInfo.JobState status,
java.lang.String queueName,
IBatchService batchWrapper)
Either add the following job if it doesn't exist or merge the state if it already exists. |
void |
removeOld(java.util.List<IBatchJobInfo> currentActiveJobs)
Update our local state with the current state, by only keeping the active jobs. |
| Method Detail |
|---|
IBatchJobInfo addMerge(java.lang.String jobId,
java.lang.String jobName,
java.lang.String userAccount,
java.lang.String timeUse,
IBatchJobInfo.JobState status,
java.lang.String queueName,
IBatchService batchWrapper)
jobId - The unique id of the job.jobName - The name of the job.userAccount - The name of the pool account that are used to execute
this job.timeUse - How much time this job have used.status - The current status of this job.queueName - The name of the queue where this job is placed.batchWrapper - The wrapper to access the batch service where this
job is queued.
void removeOld(java.util.List<IBatchJobInfo> currentActiveJobs)
currentActiveJobs - These are the currently active jobs.
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||