Package nl.b3p.brmo.bgt.loader
Class ProgressReporter
java.lang.Object
nl.b3p.brmo.bgt.loader.ProgressReporter
- All Implemented Interfaces:
Consumer<ObjectTableWriter.Progress>
- Direct Known Subclasses:
ConsoleProgressReporter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ObjectTableWriter.Progress genericProgress) getStart()protected voidvoidvoidsetTotalBytes(long totalBytes) voidsetTotalBytesReadFunction(Supplier<Long> totalBytesReadFunction) voidstartNewFile(String name, Long size) protected void
-
Constructor Details
-
ProgressReporter
public ProgressReporter()
-
-
Method Details
-
getStart
-
getTotalBytes
-
getTotalBytesReadFunction
-
getCurrentFileName
-
getCurrentFileStart
-
getCurrentFileSize
-
setTotalBytes
public void setTotalBytes(long totalBytes) -
setTotalBytesReadFunction
-
startNewFile
-
log
-
status
-
accept
- Specified by:
acceptin interfaceConsumer<ObjectTableWriter.Progress>
-
reportTotalSummary
public void reportTotalSummary()
-