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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ObjectTableWriter.Progress genericProgress) getStart()
protected void
void
void
setTotalBytes
(long totalBytes) void
setTotalBytesReadFunction
(Supplier<Long> totalBytesReadFunction) void
startNewFile
(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:
accept
in interfaceConsumer<ObjectTableWriter.Progress>
-
reportTotalSummary
public void reportTotalSummary()
-