Class TimingProgressIndicator
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.utils.TimingProgressIndicator
-
- All Implemented Interfaces:
ProgressIndicator
,TableCopyProgressIndicator
public class TimingProgressIndicator extends Object implements TableCopyProgressIndicator
Record timings.© 2013-2020 akquinet tech@spree
- Author:
- M. Dahm
-
-
Constructor Summary
Constructors Constructor Description TimingProgressIndicator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
debug(String text)
void
endExecution(int numberOfItems)
void
endProcess()
void
finalizeIndicator()
long
getElapsedExecutionTime()
long
getElapsedProcessTime()
long
getElapsedTotalTime()
int
getItemCounter()
int
getNumberOfTables()
int
getRowCount()
String
getSourceTableName()
long
getStartExecutionTime()
long
getStartProcessTime()
long
getStartTotalTime()
String
getTargetTableName()
void
info(String text)
void
initializeIndicator()
void
startCopyTable(String sourceTableName, int rowCount, String targetTableName)
void
startExecution()
void
startProcess(int numberOfItems)
void
updateTimers()
void
warn(String text)
-
-
-
Method Detail
-
initializeIndicator
public void initializeIndicator()
- Specified by:
initializeIndicator
in interfaceProgressIndicator
-
startProcess
public void startProcess(int numberOfItems)
- Specified by:
startProcess
in interfaceProgressIndicator
-
startCopyTable
public void startCopyTable(String sourceTableName, int rowCount, String targetTableName)
- Specified by:
startCopyTable
in interfaceTableCopyProgressIndicator
-
startExecution
public void startExecution()
- Specified by:
startExecution
in interfaceProgressIndicator
-
endExecution
public void endExecution(int numberOfItems)
- Specified by:
endExecution
in interfaceProgressIndicator
-
endProcess
public void endProcess()
- Specified by:
endProcess
in interfaceProgressIndicator
-
warn
public void warn(String text)
- Specified by:
warn
in interfaceProgressIndicator
-
info
public void info(String text)
- Specified by:
info
in interfaceProgressIndicator
-
debug
public void debug(String text)
- Specified by:
debug
in interfaceProgressIndicator
-
finalizeIndicator
public void finalizeIndicator()
- Specified by:
finalizeIndicator
in interfaceProgressIndicator
-
getStartTotalTime
public final long getStartTotalTime()
-
getStartProcessTime
public final long getStartProcessTime()
-
getStartExecutionTime
public final long getStartExecutionTime()
-
getSourceTableName
public final String getSourceTableName()
-
getTargetTableName
public final String getTargetTableName()
-
getRowCount
public final int getRowCount()
-
getNumberOfTables
public final int getNumberOfTables()
-
getElapsedExecutionTime
public final long getElapsedExecutionTime()
-
getElapsedProcessTime
public final long getElapsedProcessTime()
-
getElapsedTotalTime
public final long getElapsedTotalTime()
-
updateTimers
public final void updateTimers()
- Specified by:
updateTimers
in interfaceProgressIndicator
-
getItemCounter
public final int getItemCounter()
-
-