public class PipelineProgressTextReporter extends java.lang.Object implements PipelineProgressListener
| Constructor and Description |
|---|
PipelineProgressTextReporter()
Constructs a progress reporter that reports times and filter names.
|
PipelineProgressTextReporter(boolean reportTimes)
Constructs a configurable progress reporter.
|
PipelineProgressTextReporter(boolean reportTimes,
boolean reportComparisonHeartbeat)
Constructs a configurable progress reporter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
reportCompareFinish(long elapsedTime,
long threadCPUTime)
Reports when the comparison has completed.
|
void |
reportCompareHeartbeat()
Reports that progress has been made in the current comparison.
|
void |
reportCompareStart()
Reports when the comparison has started.
|
void |
reportFilterFinish(PipelineLocationEntry ple,
long elapsedTimeNS,
long threadCPUTimeNS)
Reports when a pipeline filter finishes.
|
void |
reportFilterOrSubchainSkipped(PipelineLocationEntry ple,
int numberOfStepsSkipped)
Reports when a pipeline filter or subchain is skipped.
|
void |
reportFilterStart(PipelineLocationEntry ple)
Reports when a pipeline filter starts.
|
void |
reportLoadFinish(PipelineLocationEntry ple,
long elapsedTime,
long threadCPUTime)
Reports when pipeline has been loaded.
|
void |
reportLoadStart(PipelineLocationEntry ple)
Reports when pipeline starts to load.
|
void |
reportNumberOfStages(int enabledStages)
Report the number of enabled stages.
|
void |
reportSaveFinish(long elapsedTime,
long threadCPUTime)
Reports when the output has been completed.
|
void |
reportSaveStart()
Reports when the output is starting to be written.
|
void |
reportSubchainEnter(PipelineLocationEntry ple)
Reports when a subchain within the pipeline is entered.
|
void |
reportSubchainExit(PipelineLocationEntry ple,
long elapsedTime,
long threadCPUTime)
Reports when a subchain within the pipeline is exited.
|
void |
setReportIncidentals(boolean reportTimes)
Set report incidentals.
|
void |
setReportTimes(boolean reportTimes)
Controls whether timing information is reported.
|
public PipelineProgressTextReporter()
public PipelineProgressTextReporter(boolean reportTimes)
reportTimes - when true timing information is reported where availablepublic PipelineProgressTextReporter(boolean reportTimes,
boolean reportComparisonHeartbeat)
reportTimes - when true timing information is reported where availablereportComparisonHeartbeat - when true a comparison 'heartbeat' is output at approximately one second intervalspublic void setReportTimes(boolean reportTimes)
reportTimes - when true timing information is reported where availablepublic void setReportIncidentals(boolean reportTimes)
reportTimes - when true timing information is reported where availablepublic void reportNumberOfStages(int enabledStages)
Started and Finished. Note that all other progress report messages, such as those marking
when a subchain has been Entered and Exited or those marking when a disabled stage or chain has
been Skipped, are not part of the enabled stage count.reportNumberOfStages in interface PipelineProgressListenerenabledStages - The number of enabled stages.public void reportCompareFinish(long elapsedTime,
long threadCPUTime)
reportCompareFinish in interface PipelineProgressListenerelapsedTime - The elapsed time taken to perform the comparison (in nanoseconds).threadCPUTime - The CPU time taken to perform the comparison (in nanoseconds).public void reportCompareHeartbeat()
Notes:
reportCompareHeartbeat in interface PipelineProgressListenerpublic void reportCompareStart()
reportCompareStart in interface PipelineProgressListenerpublic void reportFilterFinish(PipelineLocationEntry ple, long elapsedTimeNS, long threadCPUTimeNS)
reportFilterFinish in interface PipelineProgressListenerple - The filter's location within the pipeline.elapsedTimeNS - The elapsed time taken to execute the filter (in nanoseconds).threadCPUTimeNS - The CPU time taken to execute this filter (in nanoseconds).public void reportFilterStart(PipelineLocationEntry ple)
reportFilterStart in interface PipelineProgressListenerple - The filter's location within the pipeline.public void reportFilterOrSubchainSkipped(PipelineLocationEntry ple, int numberOfStepsSkipped)
reportFilterOrSubchainSkipped in interface PipelineProgressListenerple - The filter or subchain's location within the pipeline.numberOfStepsSkipped - The number of filter stages skipped.public void reportLoadFinish(PipelineLocationEntry ple, long elapsedTime, long threadCPUTime)
reportLoadFinish in interface PipelineProgressListenerple - The name of the pipeline; typically "input-a", "input-b", or "result".elapsedTime - The elapsed time taken to load a pipeline (in nanoseconds).threadCPUTime - The CPU time taken to load a pipeline (in nanoseconds).public void reportLoadStart(PipelineLocationEntry ple)
reportLoadStart in interface PipelineProgressListenerple - The name of the pipeline; typically "input-a", "input-b", or "result".public void reportSaveFinish(long elapsedTime,
long threadCPUTime)
reportSaveFinish in interface PipelineProgressListenerelapsedTime - The elapsed time taken to write the output (in nanoseconds).threadCPUTime - The CPU time taken to write the output (in nanoseconds).public void reportSaveStart()
reportSaveStart in interface PipelineProgressListenerpublic void reportSubchainEnter(PipelineLocationEntry ple)
PipelineProgressListenerreportSubchainEnter in interface PipelineProgressListenerple - The subchain's location within the pipeline.public void reportSubchainExit(PipelineLocationEntry ple, long elapsedTime, long threadCPUTime)
PipelineProgressListenerreportSubchainExit in interface PipelineProgressListenerple - The subchain's location within the pipeline.elapsedTime - The elapsed time taken to execute the subchain (in nanoseconds).threadCPUTime - The CPU time taken to execute this subchain (in nanoseconds).Copyright © 2001-2018 DeltaXML Ltd. All Rights Reserved.