Class PerformanceSnapShot
- java.lang.Object
-
- org.apache.hop.pipeline.performance.PerformanceSnapShot
-
public class PerformanceSnapShot extends Object
-
-
Constructor Summary
Constructors Constructor Description PerformanceSnapShot(int seqNr, Date date, String parentName, String componentName, int copyNr, long totalLinesRead, long totalLinesWritten, long totalLinesInput, long totalLinesOutput, long totalLinesUpdated, long totalLinesRejected, long totalErrors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddiff(PerformanceSnapShot previous, long inputBufferSize, long outputBufferSize)StringgetComponentName()intgetCopyNr()DategetDate()longgetErrors()longgetInputBufferSize()longgetLinesInput()longgetLinesOutput()longgetLinesRead()longgetLinesRejected()longgetLinesUpdated()longgetLinesWritten()longgetOutputBufferSize()StringgetParentName()intgetSeqNr()longgetTimeDifference()longgetTotalErrors()longgetTotalLinesInput()longgetTotalLinesOutput()longgetTotalLinesRead()longgetTotalLinesRejected()longgetTotalLinesUpdated()longgetTotalLinesWritten()voidsetComponentName(String componentName)voidsetCopyNr(int copyNr)voidsetDate(Date date)voidsetErrors(long errors)voidsetInputBufferSize(long inputBufferSize)voidsetLinesInput(long linesInput)voidsetLinesOutput(long linesOutput)voidsetLinesRead(long linesRead)voidsetLinesRejected(long linesRejected)voidsetLinesUpdated(long linesUpdated)voidsetLinesWritten(long linesWritten)voidsetOutputBufferSize(long outputBufferSize)voidsetParentName(String parentName)voidsetSeqNr(int seqNr)voidsetTimeDifference(long timeDifference)voidsetTotalErrors(long totalErrors)voidsetTotalLinesInput(long totalLinesInput)voidsetTotalLinesOutput(long totalLinesOutput)voidsetTotalLinesRead(long totalLinesRead)voidsetTotalLinesRejected(long totalLinesRejected)voidsetTotalLinesUpdated(long totalLinesUpdated)voidsetTotalLinesWritten(long totalLinesWritten)
-
-
-
Constructor Detail
-
PerformanceSnapShot
public PerformanceSnapShot(int seqNr, Date date, String parentName, String componentName, int copyNr, long totalLinesRead, long totalLinesWritten, long totalLinesInput, long totalLinesOutput, long totalLinesUpdated, long totalLinesRejected, long totalErrors)- Parameters:
date-componentName-copyNr-totalLinesRead-totalLinesWritten-totalLinesInput-totalLinesOutput-totalLinesUpdated-totalLinesRejected-totalErrors-
-
-
Method Detail
-
diff
public void diff(PerformanceSnapShot previous, long inputBufferSize, long outputBufferSize)
-
getDate
public Date getDate()
- Returns:
- the date
-
setDate
public void setDate(Date date)
- Parameters:
date- the date to set
-
getComponentName
public String getComponentName()
- Returns:
- the transformName
-
setComponentName
public void setComponentName(String componentName)
- Parameters:
componentName- the transformName to set
-
getCopyNr
public int getCopyNr()
- Returns:
- the transform copy nr
-
setCopyNr
public void setCopyNr(int copyNr)
- Parameters:
copyNr- the transform copy nr to set
-
getTotalLinesRead
public long getTotalLinesRead()
- Returns:
- the totalLinesRead
-
setTotalLinesRead
public void setTotalLinesRead(long totalLinesRead)
- Parameters:
totalLinesRead- the totalLinesRead to set
-
getTotalLinesWritten
public long getTotalLinesWritten()
- Returns:
- the totalLinesWritten
-
setTotalLinesWritten
public void setTotalLinesWritten(long totalLinesWritten)
- Parameters:
totalLinesWritten- the totalLinesWritten to set
-
getTotalLinesInput
public long getTotalLinesInput()
- Returns:
- the totalLinesInput
-
setTotalLinesInput
public void setTotalLinesInput(long totalLinesInput)
- Parameters:
totalLinesInput- the totalLinesInput to set
-
getTotalLinesOutput
public long getTotalLinesOutput()
- Returns:
- the totalLinesOutput
-
setTotalLinesOutput
public void setTotalLinesOutput(long totalLinesOutput)
- Parameters:
totalLinesOutput- the totalLinesOutput to set
-
getTotalLinesUpdated
public long getTotalLinesUpdated()
- Returns:
- the totalLinesUpdated
-
setTotalLinesUpdated
public void setTotalLinesUpdated(long totalLinesUpdated)
- Parameters:
totalLinesUpdated- the totalLinesUpdated to set
-
getTotalLinesRejected
public long getTotalLinesRejected()
- Returns:
- the totalLinesRejected
-
setTotalLinesRejected
public void setTotalLinesRejected(long totalLinesRejected)
- Parameters:
totalLinesRejected- the totalLinesRejected to set
-
getTotalErrors
public long getTotalErrors()
- Returns:
- the totalErrors
-
setTotalErrors
public void setTotalErrors(long totalErrors)
- Parameters:
totalErrors- the totalErrors to set
-
getTimeDifference
public long getTimeDifference()
- Returns:
- the timeDifference
-
setTimeDifference
public void setTimeDifference(long timeDifference)
- Parameters:
timeDifference- the timeDifference to set
-
getLinesRead
public long getLinesRead()
- Returns:
- the linesRead
-
setLinesRead
public void setLinesRead(long linesRead)
- Parameters:
linesRead- the linesRead to set
-
getLinesWritten
public long getLinesWritten()
- Returns:
- the linesWritten
-
setLinesWritten
public void setLinesWritten(long linesWritten)
- Parameters:
linesWritten- the linesWritten to set
-
getLinesInput
public long getLinesInput()
- Returns:
- the linesInput
-
setLinesInput
public void setLinesInput(long linesInput)
- Parameters:
linesInput- the linesInput to set
-
getLinesOutput
public long getLinesOutput()
- Returns:
- the linesOutput
-
setLinesOutput
public void setLinesOutput(long linesOutput)
- Parameters:
linesOutput- the linesOutput to set
-
getLinesUpdated
public long getLinesUpdated()
- Returns:
- the linesUpdated
-
setLinesUpdated
public void setLinesUpdated(long linesUpdated)
- Parameters:
linesUpdated- the linesUpdated to set
-
getLinesRejected
public long getLinesRejected()
- Returns:
- the linesRejected
-
setLinesRejected
public void setLinesRejected(long linesRejected)
- Parameters:
linesRejected- the linesRejected to set
-
getErrors
public long getErrors()
- Returns:
- the errors
-
setErrors
public void setErrors(long errors)
- Parameters:
errors- the errors to set
-
getInputBufferSize
public long getInputBufferSize()
- Returns:
- the inputBufferSize
-
setInputBufferSize
public void setInputBufferSize(long inputBufferSize)
- Parameters:
inputBufferSize- the inputBufferSize to set
-
getOutputBufferSize
public long getOutputBufferSize()
- Returns:
- the outputBufferSize
-
setOutputBufferSize
public void setOutputBufferSize(long outputBufferSize)
- Parameters:
outputBufferSize- the outputBufferSize to set
-
getSeqNr
public int getSeqNr()
- Returns:
- the seqNr
-
setSeqNr
public void setSeqNr(int seqNr)
- Parameters:
seqNr- the seqNr to set
-
getParentName
public String getParentName()
- Returns:
- the pipelineName
-
setParentName
public void setParentName(String parentName)
- Parameters:
parentName- the pipelineName to set
-
-