Package ubic.gemma.core.util
Class LoggingProgressReporter
java.lang.Object
ubic.gemma.core.util.AbstractProgressReporter
ubic.gemma.core.util.LoggingProgressReporter
- All Implemented Interfaces:
AutoCloseable,ProgressReporter
Report progress to a specific log category.
- Author:
- poirigui
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Clear any progress that was rendered.protected voiddoReportProgress(double progressInPercent, long progressInBytes, long maxSizeInBytes, boolean atEnd) protected voiddoReportUnknownProgress(long progressInBytes, boolean atEnd) Methods inherited from class ubic.gemma.core.util.AbstractProgressReporter
reportProgress, reportProgress, setProgressIncrementToReportInBytes, setProgressIncrementToReportInPercentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ubic.gemma.core.util.ProgressReporter
reportProgress, reportProgress, setProgressIncrementToReportInBytes, setProgressIncrementToReportInPercent
-
Constructor Details
-
LoggingProgressReporter
-
-
Method Details
-
doReportProgress
protected void doReportProgress(double progressInPercent, long progressInBytes, long maxSizeInBytes, boolean atEnd) - Specified by:
doReportProgressin classAbstractProgressReporter
-
doReportUnknownProgress
protected void doReportUnknownProgress(long progressInBytes, boolean atEnd) - Specified by:
doReportUnknownProgressin classAbstractProgressReporter
-
close
public void close()Description copied from interface:ProgressReporterClear any progress that was rendered.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceProgressReporter
-