Class PerformanceTestResultImpl

java.lang.Object
org.apache.uima.test.junit_extension.PerformanceTestResultImpl
All Implemented Interfaces:
PerformanceTestResult

@Deprecated public class PerformanceTestResultImpl extends Object implements PerformanceTestResult
Deprecated.
To be removed without replacement.
PerformanceTestResultImpl implements the PerformanceTestResult interface and provides the results of a performance test run.
To be removed in version:
4.0.0
  • Constructor Details

    • PerformanceTestResultImpl

      public PerformanceTestResultImpl()
      Deprecated.
  • Method Details

    • getNumberOfProcessedCharacters

      public int getNumberOfProcessedCharacters()
      Deprecated.
      Description copied from interface: PerformanceTestResult
      Gets the number of processed characters.
      Specified by:
      getNumberOfProcessedCharacters in interface PerformanceTestResult
      Returns:
      Returns the number of processed characters.
    • setNumberOfCharacters

      public void setNumberOfCharacters(int numberOfCharacters)
      Deprecated.
      Sets the number of characters.
      Parameters:
      numberOfCharacters - The number of characters.
    • getNumberOfProcessedFiles

      public int getNumberOfProcessedFiles()
      Deprecated.
      Description copied from interface: PerformanceTestResult
      Gets the number of processed files.
      Specified by:
      getNumberOfProcessedFiles in interface PerformanceTestResult
      Returns:
      Returns the number of processed files.
    • setNumberOfFiles

      public void setNumberOfFiles(int numberOfFiles)
      Deprecated.
      Sets the number of files.
      Parameters:
      numberOfFiles - The number of files.
    • getUIMADatapath

      public String getUIMADatapath()
      Deprecated.
      Description copied from interface: PerformanceTestResult
      Gets the UIMA datapath.
      Specified by:
      getUIMADatapath in interface PerformanceTestResult
      Returns:
      Returns the UIMA datapath setting used for the performance test.
    • setDatapath

      public void setDatapath(String datapath)
      Deprecated.
      Sets the datapath.
      Parameters:
      datapath - The UIMA datapath.
    • getAeInitTime

      public TimeSpan getAeInitTime()
      Deprecated.
      Description copied from interface: PerformanceTestResult
      Gets the ae init time.
      Specified by:
      getAeInitTime in interface PerformanceTestResult
      Returns:
      Returns the analysis engine initialization time.
    • setInitTime

      public void setInitTime(TimeSpan initTime)
      Deprecated.
      Sets the inits the time.
      Parameters:
      initTime - The analysis engine init time.
    • getFileIoTime

      public TimeSpan getFileIoTime()
      Deprecated.
      Description copied from interface: PerformanceTestResult
      Gets the file io time.
      Specified by:
      getFileIoTime in interface PerformanceTestResult
      Returns:
      Returns the file I/O time.
    • setIoTime

      public void setIoTime(TimeSpan ioTime)
      Deprecated.
      Sets the io time.
      Parameters:
      ioTime - The file io time to set.
    • getNumberOfCreatedAnnotations

      public int getNumberOfCreatedAnnotations()
      Deprecated.
      Description copied from interface: PerformanceTestResult
      Gets the number of created annotations.
      Specified by:
      getNumberOfCreatedAnnotations in interface PerformanceTestResult
      Returns:
      Returns the number of created annotations.
    • setNumberOfCreatedAnnotations

      public void setNumberOfCreatedAnnotations(int numberOfCreatedAnnotations)
      Deprecated.
      Sets the number of created annotations.
      Parameters:
      numberOfCreatedAnnotations - The number of created annotations to set.
    • getNumberOfRepeatedRuns

      public int getNumberOfRepeatedRuns()
      Deprecated.
      Description copied from interface: PerformanceTestResult
      Gets the number of repeated runs.
      Specified by:
      getNumberOfRepeatedRuns in interface PerformanceTestResult
      Returns:
      Returns the setting for the number of repeated runs.
    • setNumsToRun

      public void setNumsToRun(int numsToRun)
      Deprecated.
      Sets the nums to run.
      Parameters:
      numsToRun - The number of repeated runs.
    • getOverallTime

      public TimeSpan getOverallTime()
      Deprecated.
      Description copied from interface: PerformanceTestResult
      Gets the overall time.
      Specified by:
      getOverallTime in interface PerformanceTestResult
      Returns:
      Returns the overall time of the performance run
    • setOverallTime

      public void setOverallTime(TimeSpan overallTime)
      Deprecated.
      Sets the overall time.
      Parameters:
      overallTime - The overall processing time.
    • getAeProcessingTime

      public TimeSpan getAeProcessingTime()
      Deprecated.
      Description copied from interface: PerformanceTestResult
      Gets the ae processing time.
      Specified by:
      getAeProcessingTime in interface PerformanceTestResult
      Returns:
      Returns the analysis engine processing time.
    • setProcessingTime

      public void setProcessingTime(TimeSpan processingTime)
      Deprecated.
      Sets the processing time.
      Parameters:
      processingTime - The analysis engine processing time.
    • isRepeatSingleMode

      public boolean isRepeatSingleMode()
      Deprecated.
      Description copied from interface: PerformanceTestResult
      Checks if is repeat single mode.
      Specified by:
      isRepeatSingleMode in interface PerformanceTestResult
      Returns:
      Returns the setting of the repeat mode mode.
    • setRepeatSingleMode

      public void setRepeatSingleMode(boolean repeatSingleMode)
      Deprecated.
      Sets the repeat single mode.
      Parameters:
      repeatSingleMode - The repeat single mode setting
    • getAeDescFilePath

      public String getAeDescFilePath()
      Deprecated.
      Description copied from interface: PerformanceTestResult
      Gets the ae desc file path.
      Specified by:
      getAeDescFilePath in interface PerformanceTestResult
      Returns:
      Returns the analysis engine descriptor file path.
    • setAeDescFilePath

      public void setAeDescFilePath(File aeDescFile)
      Deprecated.
      Sets the ae desc file path.
      Parameters:
      aeDescFile - The analysis engine descriptor file.
    • getTestFileDirectoryPath

      public String getTestFileDirectoryPath()
      Deprecated.
      Description copied from interface: PerformanceTestResult
      Gets the test file directory path.
      Specified by:
      getTestFileDirectoryPath in interface PerformanceTestResult
      Returns:
      Returns the test file directory used for the performance run.
    • setTestFileDir

      public void setTestFileDir(File testFileDir)
      Deprecated.
      Sets the test file dir.
      Parameters:
      testFileDir - The test file directory.
    • getAeWarmupTime

      public TimeSpan getAeWarmupTime()
      Deprecated.
      Description copied from interface: PerformanceTestResult
      Gets the ae warmup time.
      Specified by:
      getAeWarmupTime in interface PerformanceTestResult
      Returns:
      Returns the analysis engine warmup time.
    • setWarmupTime

      public void setWarmupTime(TimeSpan warmupTime)
      Deprecated.
      Sets the warmup time.
      Parameters:
      warmupTime - The analysis engine warmup time.
    • isDoAeWarmup

      public boolean isDoAeWarmup()
      Deprecated.
      Description copied from interface: PerformanceTestResult
      Checks if is do ae warmup.
      Specified by:
      isDoAeWarmup in interface PerformanceTestResult
      Returns:
      Returns the setting the the analysis engine warmup.
    • setDoWarmup

      public void setDoWarmup(boolean doWarmup)
      Deprecated.
      Sets the do warmup.
      Parameters:
      doWarmup - the doWarmup setting
    • toString

      public String toString()
      Deprecated.
      returns a performance report with the current performance results.
      Overrides:
      toString in class Object
      Returns:
      the string
      See Also:
    • writePerfResultsAsColumn

      public void writePerfResultsAsColumn(String level, File file) throws Exception
      Deprecated.
      write performance results as colum.
      Specified by:
      writePerfResultsAsColumn in interface PerformanceTestResult
      Parameters:
      level - Test level name of the performance test
      file - Output file where the results are written to
      Throws:
      Exception - passthru
    • getAeCleanupTime

      public TimeSpan getAeCleanupTime()
      Deprecated.
      Description copied from interface: PerformanceTestResult
      Gets the ae cleanup time.
      Specified by:
      getAeCleanupTime in interface PerformanceTestResult
      Returns:
      Returns the analysis engine cleanup time.
    • setCleanupTime

      public void setCleanupTime(TimeSpan cleanupTime)
      Deprecated.
      Sets the cleanup time.
      Parameters:
      cleanupTime - the analysis engine cleanup time
    • getDocumentPreparationTime

      public TimeSpan getDocumentPreparationTime()
      Deprecated.
      Description copied from interface: PerformanceTestResult
      Gets the document preparation time.
      Specified by:
      getDocumentPreparationTime in interface PerformanceTestResult
      Returns:
      Returns the document preparation time.
    • setDocumentPreparationTime

      public void setDocumentPreparationTime(TimeSpan documentPreparationTime)
      Deprecated.
      Sets the document preparation time.
      Parameters:
      documentPreparationTime - the document preparation time
    • getProcessedFileSize

      public long getProcessedFileSize()
      Deprecated.
      Description copied from interface: PerformanceTestResult
      Gets the processed file size.
      Specified by:
      getProcessedFileSize in interface PerformanceTestResult
      Returns:
      Returns the processed file collection size.
    • setTotalFileSize

      public void setTotalFileSize(long collectionFileSize)
      Deprecated.
      Sets the total file size.
      Parameters:
      collectionFileSize - the collection file size