public class PerformanceTestResultImpl extends java.lang.Object implements PerformanceTestResult
| Constructor and Description |
|---|
PerformanceTestResultImpl() |
| Modifier and Type | Method and Description |
|---|---|
TimeSpan |
getAeCleanupTime() |
java.lang.String |
getAeDescFilePath() |
TimeSpan |
getAeInitTime() |
TimeSpan |
getAeProcessingTime() |
TimeSpan |
getAeWarmupTime() |
TimeSpan |
getDocumentPreparationTime() |
TimeSpan |
getFileIoTime() |
int |
getNumberOfCreatedAnnotations() |
int |
getNumberOfProcessedCharacters() |
int |
getNumberOfProcessedFiles() |
int |
getNumberOfRepeatedRuns() |
TimeSpan |
getOverallTime() |
long |
getProcessedFileSize() |
java.lang.String |
getTestFileDirectoryPath() |
java.lang.String |
getUIMADatapath() |
boolean |
isDoAeWarmup() |
boolean |
isRepeatSingleMode() |
void |
setAeDescFilePath(java.io.File aeDescFile) |
void |
setCleanupTime(TimeSpan cleanupTime) |
void |
setDatapath(java.lang.String datapath) |
void |
setDocumentPreparationTime(TimeSpan documentPreparationTime) |
void |
setDoWarmup(boolean doWarmup) |
void |
setInitTime(TimeSpan initTime) |
void |
setIoTime(TimeSpan ioTime) |
void |
setNumberOfCharacters(int numberOfCharacters) |
void |
setNumberOfCreatedAnnotations(int numberOfCreatedAnnotations) |
void |
setNumberOfFiles(int numberOfFiles) |
void |
setNumsToRun(int numsToRun) |
void |
setOverallTime(TimeSpan overallTime) |
void |
setProcessingTime(TimeSpan processingTime) |
void |
setRepeatSingleMode(boolean repeatSingleMode) |
void |
setTestFileDir(java.io.File testFileDir) |
void |
setTotalFileSize(long collectionFileSize) |
void |
setWarmupTime(TimeSpan warmupTime) |
java.lang.String |
toString()
returns a performance report with the current performance results.
|
void |
writePerfResultsAsColumn(java.lang.String level,
java.io.File file)
write performance results as colum.
|
public int getNumberOfProcessedCharacters()
getNumberOfProcessedCharacters in interface PerformanceTestResultpublic void setNumberOfCharacters(int numberOfCharacters)
numberOfCharacters - The number of characters.public int getNumberOfProcessedFiles()
getNumberOfProcessedFiles in interface PerformanceTestResultpublic void setNumberOfFiles(int numberOfFiles)
numberOfFiles - The number of files.public java.lang.String getUIMADatapath()
getUIMADatapath in interface PerformanceTestResultpublic void setDatapath(java.lang.String datapath)
datapath - The UIMA datapath.public TimeSpan getAeInitTime()
getAeInitTime in interface PerformanceTestResultpublic void setInitTime(TimeSpan initTime)
initTime - The analysis engine init time.public TimeSpan getFileIoTime()
getFileIoTime in interface PerformanceTestResultpublic void setIoTime(TimeSpan ioTime)
ioTime - The file io time to set.public int getNumberOfCreatedAnnotations()
getNumberOfCreatedAnnotations in interface PerformanceTestResultpublic void setNumberOfCreatedAnnotations(int numberOfCreatedAnnotations)
numberOfCreatedAnnotations - The number of created annotations to set.public int getNumberOfRepeatedRuns()
getNumberOfRepeatedRuns in interface PerformanceTestResultpublic void setNumsToRun(int numsToRun)
numsToRun - The number of repeated runs.public TimeSpan getOverallTime()
getOverallTime in interface PerformanceTestResultpublic void setOverallTime(TimeSpan overallTime)
overallTime - The overall processing time.public TimeSpan getAeProcessingTime()
getAeProcessingTime in interface PerformanceTestResultpublic void setProcessingTime(TimeSpan processingTime)
processingTime - The analysis engine processing time.public boolean isRepeatSingleMode()
isRepeatSingleMode in interface PerformanceTestResultpublic void setRepeatSingleMode(boolean repeatSingleMode)
repeatSingleMode - The repeat single mode settingpublic java.lang.String getAeDescFilePath()
getAeDescFilePath in interface PerformanceTestResultpublic void setAeDescFilePath(java.io.File aeDescFile)
aeDescFile - The analysis engine descriptor file.public java.lang.String getTestFileDirectoryPath()
getTestFileDirectoryPath in interface PerformanceTestResultpublic void setTestFileDir(java.io.File testFileDir)
testFileDir - The test file directory.public TimeSpan getAeWarmupTime()
getAeWarmupTime in interface PerformanceTestResultpublic void setWarmupTime(TimeSpan warmupTime)
warmupTime - The analysis engine warmup time.public boolean isDoAeWarmup()
isDoAeWarmup in interface PerformanceTestResultpublic void setDoWarmup(boolean doWarmup)
doWarmup - the doWarmup settingpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public void writePerfResultsAsColumn(java.lang.String level,
java.io.File file)
throws java.lang.Exception
writePerfResultsAsColumn in interface PerformanceTestResultlevel - Test level name of the performance testfile - Output file where the results are written tojava.lang.Exceptionpublic TimeSpan getAeCleanupTime()
getAeCleanupTime in interface PerformanceTestResultpublic void setCleanupTime(TimeSpan cleanupTime)
cleanupTime - the analysis engine cleanup timepublic TimeSpan getDocumentPreparationTime()
getDocumentPreparationTime in interface PerformanceTestResultpublic void setDocumentPreparationTime(TimeSpan documentPreparationTime)
documentPreparationTime - the document preparation timepublic long getProcessedFileSize()
getProcessedFileSize in interface PerformanceTestResultpublic void setTotalFileSize(long collectionFileSize)
collectionFileSize - the collection file sizeCopyright © 2013. All Rights Reserved.