com.norconex.jef.progress.snapshot
Interface IProgressSnapshotSerializer

All Superinterfaces:
Serializable
All Known Implementing Classes:
XMLProgressSnapshotSerializer

public interface IProgressSnapshotSerializer
extends Serializable

Interface meant to favour integration with other systems, such as monitoring systems.

Since:
2.0
Author:
Pascal Essiembre

Method Summary
 IProgressSnapshot readProgressSnapshot(Reader in)
          Reads a job progress snapshot.
 void writeProgressSnapshot(Writer out, IProgressSnapshot snapshot)
          Writes a job progress snapshot.
 

Method Detail

writeProgressSnapshot

void writeProgressSnapshot(Writer out,
                           IProgressSnapshot snapshot)
Writes a job progress snapshot.

Parameters:
out - where to write the progress
snapshot - the job progress snapshopt to write

readProgressSnapshot

IProgressSnapshot readProgressSnapshot(Reader in)
Reads a job progress snapshot.

Parameters:
in - reader for the progress
Returns:
the job progress snapshot


Copyright © 2007-2013 Norconex Inc.. All Rights Reserved.