| Constructor and Description |
|---|
SmartProgressReporter(CanReportProgressAndStage reporter) |
SmartProgressReporter(CanReportProgressAndStage reporter,
PrintStream stream) |
SmartProgressReporter(String prefix,
CanReportProgress reporter) |
SmartProgressReporter(String prefix,
CanReportProgress reporter,
PrintStream stream) |
| Modifier and Type | Method and Description |
|---|---|
static CanReportProgress |
extractProgress(cc.redberry.pipe.util.CountingOutputPort<?> countingOutputPort,
long size) |
static CanReportProgress |
extractProgress(cc.redberry.pipe.util.CountLimitingOutputPort<?> countLimitingOutputPort) |
double |
getProgressPeriod() |
double |
getTimePeriod() |
boolean |
isDetectStageChange() |
void |
run() |
void |
setDetectStageChange(boolean detectStageChange) |
void |
setProgressPeriod(double progressPeriod) |
void |
setTimePeriod(double timePeriod) |
static void |
startProgressReport(CanReportProgressAndStage reporter) |
static void |
startProgressReport(CanReportProgressAndStage reporter,
PrintStream stream) |
static void |
startProgressReport(SmartProgressReporter reporter) |
static void |
startProgressReport(String prefix,
CanReportProgress reporter) |
static void |
startProgressReport(String prefix,
CanReportProgress reporter,
PrintStream stream) |
public SmartProgressReporter(CanReportProgressAndStage reporter, PrintStream stream)
public SmartProgressReporter(CanReportProgressAndStage reporter)
public SmartProgressReporter(String prefix, CanReportProgress reporter)
public SmartProgressReporter(String prefix, CanReportProgress reporter, PrintStream stream)
public double getProgressPeriod()
public void setProgressPeriod(double progressPeriod)
public double getTimePeriod()
public void setTimePeriod(double timePeriod)
public boolean isDetectStageChange()
public void setDetectStageChange(boolean detectStageChange)
public static void startProgressReport(SmartProgressReporter reporter)
public static void startProgressReport(CanReportProgressAndStage reporter, PrintStream stream)
public static void startProgressReport(CanReportProgressAndStage reporter)
public static void startProgressReport(String prefix, CanReportProgress reporter)
public static void startProgressReport(String prefix, CanReportProgress reporter, PrintStream stream)
public static CanReportProgress extractProgress(cc.redberry.pipe.util.CountingOutputPort<?> countingOutputPort, long size)
public static CanReportProgress extractProgress(cc.redberry.pipe.util.CountLimitingOutputPort<?> countLimitingOutputPort)
Copyright © 2018. All rights reserved.