Package org.apache.activemq.tool.reports
Class XmlFilePerfReportWriter
- java.lang.Object
-
- org.apache.activemq.tool.reports.AbstractPerfReportWriter
-
- org.apache.activemq.tool.reports.XmlFilePerfReportWriter
-
- All Implemented Interfaces:
PerformanceReportWriter
public class XmlFilePerfReportWriter extends AbstractPerfReportWriter
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.tool.reports.AbstractPerfReportWriter
plugins, REPORT_PLUGIN_CPU, REPORT_PLUGIN_THROUGHPUT
-
-
Constructor Summary
Constructors Constructor Description XmlFilePerfReportWriter()
XmlFilePerfReportWriter(String reportDir, String reportName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
closeReportWriter()
protected File
createTempLogFile()
protected File
createXmlFile()
String
getReportDir()
String
getReportName()
File
getXmlFile()
void
openReportWriter()
protected void
parsePerfCsvData(String elementName, String csvData)
void
setReportDir(String reportDir)
void
setReportName(String reportName)
void
setXmlFile(File xmlFile)
protected void
writeCpuSummary(Map summary)
void
writeCsvData(int csvType, String csvData)
void
writeInfo(String info)
protected void
writeMap(String name, Map map)
void
writeProperties(String header, Properties props)
void
writeProperties(Properties props)
protected void
writeThroughputSummary(Map summary)
protected void
writeToXml()
protected void
writeXmlFooter()
protected void
writeXmlHeader()
protected void
writeXmlLogFile()
protected void
writeXmlPerfSummary()
protected void
writeXmlTestSettings()
-
Methods inherited from class org.apache.activemq.tool.reports.AbstractPerfReportWriter
getSummary, handleCsvData
-
-
-
-
Method Detail
-
openReportWriter
public void openReportWriter()
-
closeReportWriter
public void closeReportWriter()
-
getReportDir
public String getReportDir()
-
setReportDir
public void setReportDir(String reportDir)
-
getReportName
public String getReportName()
-
setReportName
public void setReportName(String reportName)
-
getXmlFile
public File getXmlFile()
-
setXmlFile
public void setXmlFile(File xmlFile)
-
writeInfo
public void writeInfo(String info)
-
writeCsvData
public void writeCsvData(int csvType, String csvData)
-
writeProperties
public void writeProperties(String header, Properties props)
-
writeProperties
public void writeProperties(Properties props)
-
createTempLogFile
protected File createTempLogFile()
-
createXmlFile
protected File createXmlFile()
-
writeToXml
protected void writeToXml()
-
writeXmlHeader
protected void writeXmlHeader()
-
writeXmlFooter
protected void writeXmlFooter()
-
writeXmlTestSettings
protected void writeXmlTestSettings()
-
writeXmlLogFile
protected void writeXmlLogFile() throws IOException
- Throws:
IOException
-
writeXmlPerfSummary
protected void writeXmlPerfSummary()
-
writeThroughputSummary
protected void writeThroughputSummary(Map summary)
-
writeCpuSummary
protected void writeCpuSummary(Map summary)
-
-