use of org.ow2.proactive.scheduler.job.ClientJobState in project scheduling by ow2-proactive.
the class SchedulerFrontendState method jobSubmitted.
@Override
public synchronized void jobSubmitted(JobState job) {
ClientJobState storedJobState = new ClientJobState(job);
jobsMap.put(job.getId(), storedJobState);
sState.update(storedJobState);
dispatchJobSubmitted(job);
}
use of org.ow2.proactive.scheduler.job.ClientJobState in project scheduling by ow2-proactive.
the class LiveJobs method jobSubmitted.
void jobSubmitted(InternalJob job) {
job.prepareTasks();
job.submitAction();
dbManager.newJobSubmitted(job);
ClientJobState clientJobState = new ClientJobState(job);
jobs.put(job.getId(), new JobData(job));
listener.jobSubmitted(clientJobState);
}
Aggregations