public interface JobRepository
An interface for persisting JobSpec
s
Modifier and Type | Method and Description |
---|---|
String |
addJob(JobSpec spec) |
JobSpec |
getJobById(String jobId) |
String |
getStatus(JobSpec spec) |
boolean |
jobFinished(JobSpec spec) |
void |
removeJob(JobSpec spec) |
void |
updateJob(JobSpec spec) |
String addJob(JobSpec spec) throws JobRepositoryException
JobRepositoryException
void updateJob(JobSpec spec) throws JobRepositoryException
JobRepositoryException
void removeJob(JobSpec spec) throws JobRepositoryException
JobRepositoryException
JobSpec getJobById(String jobId) throws JobRepositoryException
JobRepositoryException
String getStatus(JobSpec spec) throws JobRepositoryException
JobRepositoryException
boolean jobFinished(JobSpec spec) throws JobRepositoryException
JobRepositoryException
Copyright © 1999–2017 Apache OODT. All rights reserved.