public interface Reporter
a header with overall information (server connected, time of start, time of end, etc.)
a section for documentary base listing one by one:
current time
current index
the ID of documents processed
a section for every other types
An instance of the reporter can be obtained through the factory, don't get one directly through constructor.
| Modifier and Type | Method and Description |
|---|---|
String |
getHeader()
Reads the header.
|
String |
getLastEntry()
Reads the last entry.
|
int |
getNumberOfDocuments()
Retrieves the number of entries.
|
long |
getTotalSize()
Computes the sum of the blob size.
|
void |
writeEntry(String documentId,
int blobsSize)
Writes an entry at the end of the file.
|
void |
writeHeader(String documentaryScope,
boolean resume)
Writes the header at the begin of the file.
|
void writeEntry(String documentId, int blobsSize) throws ClientException
ClientExceptionvoid writeHeader(String documentaryScope, boolean resume) throws ClientException
ClientExceptionString getHeader() throws ClientException
ClientExceptionString getLastEntry() throws ClientException
ClientExceptionint getNumberOfDocuments()
throws ClientException
ClientExceptionlong getTotalSize()
throws ClientException
ClientExceptionCopyright © 2013 Nuxeo SA. All Rights Reserved.