|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IJobProgressSerializer
Responsible for serializing a job progress.
Method Summary | |
---|---|
void |
backup(String namespace,
String jobId,
Date backupDate)
Backups job progress. |
JobProgress |
deserialize(String namespace,
String jobId,
IJobContext jobContext)
Deserializes a job progress. |
void |
remove(String namespace,
String jobId)
Removes job progress. |
void |
serialize(String namespace,
IJobStatus jobProgress)
Serializes a job progress. |
Method Detail |
---|
void serialize(String namespace, IJobStatus jobProgress) throws IOException
namespace
- name space given to the job progressjobProgress
- job progress
IOException
- problem serializing job progressJobProgress deserialize(String namespace, String jobId, IJobContext jobContext) throws IOException
null
is not allowed).
namespace
- name space given to the job progressjobId
- job unique identifierjobContext
- job context for which to obtain job progress
IOException
- problem deserializing job progressvoid remove(String namespace, String jobId) throws IOException
deserialize(String, String, IJobContext)
method.
namespace
- name space given to the job progressjobId
- unique identifier of job we want to remove status
IOException
- problem removing job progressvoid backup(String namespace, String jobId, Date backupDate) throws IOException
deserialize(String, String, IJobContext)
method.
namespace
- name space given to the job progressjobId
- unique identifier of job progress we want to backupbackupDate
- date used to timestamp to backup
IOException
- problem backing-up job progress
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |