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
Constructors -
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.intDeprecated.Gets the number of created annotations.intDeprecated.Gets the number of processed characters.intDeprecated.Gets the number of processed files.intDeprecated.Gets the number of repeated runs.Deprecated.Gets the overall time.longDeprecated.Gets the processed file size.Deprecated.Gets the test file directory path.Deprecated.Gets the UIMA datapath.booleanDeprecated.Checks if is do ae warmup.booleanDeprecated.Checks if is repeat single mode.voidsetAeDescFilePath(File aeDescFile) Deprecated.Sets the ae desc file path.voidsetCleanupTime(TimeSpan cleanupTime) Deprecated.Sets the cleanup time.voidsetDatapath(String datapath) Deprecated.Sets the datapath.voidsetDocumentPreparationTime(TimeSpan documentPreparationTime) Deprecated.Sets the document preparation time.voidsetDoWarmup(boolean doWarmup) Deprecated.Sets the do warmup.voidsetInitTime(TimeSpan initTime) Deprecated.Sets the inits the time.voidDeprecated.Sets the io time.voidsetNumberOfCharacters(int numberOfCharacters) Deprecated.Sets the number of characters.voidsetNumberOfCreatedAnnotations(int numberOfCreatedAnnotations) Deprecated.Sets the number of created annotations.voidsetNumberOfFiles(int numberOfFiles) Deprecated.Sets the number of files.voidsetNumsToRun(int numsToRun) Deprecated.Sets the nums to run.voidsetOverallTime(TimeSpan overallTime) Deprecated.Sets the overall time.voidsetProcessingTime(TimeSpan processingTime) Deprecated.Sets the processing time.voidsetRepeatSingleMode(boolean repeatSingleMode) Deprecated.Sets the repeat single mode.voidsetTestFileDir(File testFileDir) Deprecated.Sets the test file dir.voidsetTotalFileSize(long collectionFileSize) Deprecated.Sets the total file size.voidsetWarmupTime(TimeSpan warmupTime) Deprecated.Sets the warmup time.toString()Deprecated.returns a performance report with the current performance results.voidwritePerfResultsAsColumn(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:PerformanceTestResultGets the number of processed characters.- Specified by:
getNumberOfProcessedCharactersin 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:PerformanceTestResultGets the number of processed files.- Specified by:
getNumberOfProcessedFilesin 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:PerformanceTestResultGets the UIMA datapath.- Specified by:
getUIMADatapathin 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:PerformanceTestResultGets the ae init time.- Specified by:
getAeInitTimein 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:PerformanceTestResultGets the file io time.- Specified by:
getFileIoTimein 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:PerformanceTestResultGets the number of created annotations.- Specified by:
getNumberOfCreatedAnnotationsin 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:PerformanceTestResultGets the number of repeated runs.- Specified by:
getNumberOfRepeatedRunsin 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:PerformanceTestResultGets the overall time.- Specified by:
getOverallTimein 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:PerformanceTestResultGets the ae processing time.- Specified by:
getAeProcessingTimein 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:PerformanceTestResultChecks if is repeat single mode.- Specified by:
isRepeatSingleModein 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:PerformanceTestResultGets the ae desc file path.- Specified by:
getAeDescFilePathin 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:PerformanceTestResultGets the test file directory path.- Specified by:
getTestFileDirectoryPathin 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:PerformanceTestResultGets the ae warmup time.- Specified by:
getAeWarmupTimein 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:PerformanceTestResultChecks if is do ae warmup.- Specified by:
isDoAeWarmupin 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:
writePerfResultsAsColumnin 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:PerformanceTestResultGets the ae cleanup time.- Specified by:
getAeCleanupTimein 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:PerformanceTestResultGets the document preparation time.- Specified by:
getDocumentPreparationTimein 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:PerformanceTestResultGets the processed file size.- Specified by:
getProcessedFileSizein 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
-