public class XStreamJobRepository extends Object implements JobRepository
Constructor and Description |
---|
XStreamJobRepository(File workingDir,
int maxHistory) |
public XStreamJobRepository(File workingDir, int maxHistory)
public String addJob(JobSpec spec) throws JobRepositoryException
addJob
in interface JobRepository
JobRepositoryException
public JobSpec getJobById(String jobId) throws JobRepositoryException
getJobById
in interface JobRepository
JobRepositoryException
public String getStatus(JobSpec spec) throws JobRepositoryException
getStatus
in interface JobRepository
JobRepositoryException
public boolean jobFinished(JobSpec spec) throws JobRepositoryException
jobFinished
in interface JobRepository
JobRepositoryException
public void removeJob(JobSpec spec) throws JobRepositoryException
removeJob
in interface JobRepository
JobRepositoryException
public void updateJob(JobSpec spec) throws JobRepositoryException
updateJob
in interface JobRepository
JobRepositoryException
Copyright © 1999-2015 Apache OODT. All Rights Reserved.