Class PerformanceTestResultImpl
java.lang.Object
org.apache.uima.test.junit_extension.PerformanceTestResultImpl
- All Implemented Interfaces:
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the ae cleanup time.Deprecated.Gets the ae desc file path.Deprecated.Gets the ae init time.Deprecated.Gets the ae processing time.Deprecated.Gets the ae warmup time.Deprecated.Gets the document preparation time.Deprecated.Gets the file io time.int
Deprecated.Gets the number of created annotations.int
Deprecated.Gets the number of processed characters.int
Deprecated.Gets the number of processed files.int
Deprecated.Gets the number of repeated runs.Deprecated.Gets the overall time.long
Deprecated.Gets the processed file size.Deprecated.Gets the test file directory path.Deprecated.Gets the UIMA datapath.boolean
Deprecated.Checks if is do ae warmup.boolean
Deprecated.Checks if is repeat single mode.void
setAeDescFilePath
(File aeDescFile) Deprecated.Sets the ae desc file path.void
setCleanupTime
(TimeSpan cleanupTime) Deprecated.Sets the cleanup time.void
setDatapath
(String datapath) Deprecated.Sets the datapath.void
setDocumentPreparationTime
(TimeSpan documentPreparationTime) Deprecated.Sets the document preparation time.void
setDoWarmup
(boolean doWarmup) Deprecated.Sets the do warmup.void
setInitTime
(TimeSpan initTime) Deprecated.Sets the inits the time.void
Deprecated.Sets the io time.void
setNumberOfCharacters
(int numberOfCharacters) Deprecated.Sets the number of characters.void
setNumberOfCreatedAnnotations
(int numberOfCreatedAnnotations) Deprecated.Sets the number of created annotations.void
setNumberOfFiles
(int numberOfFiles) Deprecated.Sets the number of files.void
setNumsToRun
(int numsToRun) Deprecated.Sets the nums to run.void
setOverallTime
(TimeSpan overallTime) Deprecated.Sets the overall time.void
setProcessingTime
(TimeSpan processingTime) Deprecated.Sets the processing time.void
setRepeatSingleMode
(boolean repeatSingleMode) Deprecated.Sets the repeat single mode.void
setTestFileDir
(File testFileDir) Deprecated.Sets the test file dir.void
setTotalFileSize
(long collectionFileSize) Deprecated.Sets the total file size.void
setWarmupTime
(TimeSpan warmupTime) Deprecated.Sets the warmup time.toString()
Deprecated.returns a performance report with the current performance results.void
writePerfResultsAsColumn
(String level, File file) Deprecated.write performance results as colum.
-
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 interfacePerformanceTestResult
- 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 interfacePerformanceTestResult
- 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
Deprecated.Description copied from interface:PerformanceTestResult
Gets the UIMA datapath.- Specified by:
getUIMADatapath
in interfacePerformanceTestResult
- Returns:
- Returns the UIMA datapath setting used for the performance test.
-
setDatapath
Deprecated.Sets the datapath.- Parameters:
datapath
- The UIMA datapath.
-
getAeInitTime
Deprecated.Description copied from interface:PerformanceTestResult
Gets the ae init time.- Specified by:
getAeInitTime
in interfacePerformanceTestResult
- Returns:
- Returns the analysis engine initialization time.
-
setInitTime
Deprecated.Sets the inits the time.- Parameters:
initTime
- The analysis engine init time.
-
getFileIoTime
Deprecated.Description copied from interface:PerformanceTestResult
Gets the file io time.- Specified by:
getFileIoTime
in interfacePerformanceTestResult
- Returns:
- Returns the file I/O time.
-
setIoTime
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 interfacePerformanceTestResult
- 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 interfacePerformanceTestResult
- 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
Deprecated.Description copied from interface:PerformanceTestResult
Gets the overall time.- Specified by:
getOverallTime
in interfacePerformanceTestResult
- Returns:
- Returns the overall time of the performance run
-
setOverallTime
Deprecated.Sets the overall time.- Parameters:
overallTime
- The overall processing time.
-
getAeProcessingTime
Deprecated.Description copied from interface:PerformanceTestResult
Gets the ae processing time.- Specified by:
getAeProcessingTime
in interfacePerformanceTestResult
- Returns:
- Returns the analysis engine processing time.
-
setProcessingTime
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 interfacePerformanceTestResult
- 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
Deprecated.Description copied from interface:PerformanceTestResult
Gets the ae desc file path.- Specified by:
getAeDescFilePath
in interfacePerformanceTestResult
- Returns:
- Returns the analysis engine descriptor file path.
-
setAeDescFilePath
Deprecated.Sets the ae desc file path.- Parameters:
aeDescFile
- The analysis engine descriptor file.
-
getTestFileDirectoryPath
Deprecated.Description copied from interface:PerformanceTestResult
Gets the test file directory path.- Specified by:
getTestFileDirectoryPath
in interfacePerformanceTestResult
- Returns:
- Returns the test file directory used for the performance run.
-
setTestFileDir
Deprecated.Sets the test file dir.- Parameters:
testFileDir
- The test file directory.
-
getAeWarmupTime
Deprecated.Description copied from interface:PerformanceTestResult
Gets the ae warmup time.- Specified by:
getAeWarmupTime
in interfacePerformanceTestResult
- Returns:
- Returns the analysis engine warmup time.
-
setWarmupTime
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 interfacePerformanceTestResult
- 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
Deprecated.returns a performance report with the current performance results. -
writePerfResultsAsColumn
Deprecated.write performance results as colum.- Specified by:
writePerfResultsAsColumn
in interfacePerformanceTestResult
- Parameters:
level
- Test level name of the performance testfile
- Output file where the results are written to- Throws:
Exception
- passthru
-
getAeCleanupTime
Deprecated.Description copied from interface:PerformanceTestResult
Gets the ae cleanup time.- Specified by:
getAeCleanupTime
in interfacePerformanceTestResult
- Returns:
- Returns the analysis engine cleanup time.
-
setCleanupTime
Deprecated.Sets the cleanup time.- Parameters:
cleanupTime
- the analysis engine cleanup time
-
getDocumentPreparationTime
Deprecated.Description copied from interface:PerformanceTestResult
Gets the document preparation time.- Specified by:
getDocumentPreparationTime
in interfacePerformanceTestResult
- Returns:
- Returns the document preparation time.
-
setDocumentPreparationTime
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 interfacePerformanceTestResult
- 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
-