Class ReportWriter
- java.lang.Object
-
- fr.gouv.vitam.storage.engine.server.offerdiff.ReportWriter
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class ReportWriter extends java.lang.Object implements java.lang.AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description ReportWriter(java.io.File tempFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()longgetErrorCount()longgetTotalObjectCount()voidreportMatchingObject(java.lang.String objectId)voidreportObjectMismatch(java.lang.String objectId, java.lang.Long sizeOffer1, java.lang.Long sizeOffer2)
-
-
-
Method Detail
-
reportMatchingObject
public void reportMatchingObject(java.lang.String objectId)
-
reportObjectMismatch
public void reportObjectMismatch(java.lang.String objectId, java.lang.Long sizeOffer1, java.lang.Long sizeOffer2) throws java.io.IOException- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Throws:
java.io.IOException
-
getTotalObjectCount
public long getTotalObjectCount()
-
getErrorCount
public long getErrorCount()
-
-