|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.basher.impl.AbstractCollector
net.sourceforge.basher.impl.AbstractFileCollector
net.sourceforge.basher.impl.XMLFileCollector
public class XMLFileCollector
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.sourceforge.basher.impl.AbstractFileCollector |
|---|
AbstractFileCollector.Classifier, AbstractFileCollector.FileEntry, AbstractFileCollector.Type |
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.basher.impl.AbstractFileCollector |
|---|
_collectionDirectory, _openFiles, _parent |
| Fields inherited from class net.sourceforge.basher.impl.AbstractCollector |
|---|
_log, _timeSource |
| Constructor Summary | |
|---|---|
XMLFileCollector()
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
formatAverage(Average average)
Writes the specified Average to the average file. |
protected java.lang.String |
formatExecution(java.lang.String taskName,
long elapsedTime,
long elapsedTimeNanos)
Writes the time the specified task took to execute. |
void |
initializeService()
Initializes the service. |
| Methods inherited from class net.sourceforge.basher.impl.AbstractFileCollector |
|---|
closeOpenResources, dumpAverage, fail, getWriter, initializeCollector, markAverage, notRun, setAverageFilenamePrefix, setAverageFooter, setAverageHeader, setExecutionFooter, setExecutionHeader, setExtension, setNumThreads, setQueueCapacity, setTimeOut, success, writeToFile |
| Methods inherited from class net.sourceforge.basher.impl.AbstractCollector |
|---|
basherEvent, getAverages, getFailures, getNotRun, getSuccesses, getTotal, isCollecting, registryDidShutdown, setLog, setTimeSource, startCollecting, stopCollecting |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLFileCollector()
| Method Detail |
|---|
public void initializeService()
throws java.lang.Exception
AbstractFileCollector
initializeService in class AbstractFileCollectorjava.lang.Exception - If the script directory does not exist or can not be written toprotected java.lang.String formatAverage(Average average)
Average to the average file.
formatAverage in class AbstractFileCollectoraverage - The average to write to disk
protected java.lang.String formatExecution(java.lang.String taskName,
long elapsedTime,
long elapsedTimeNanos)
formatExecution in class AbstractFileCollectortaskName - The name of the task (used for the filename as well)elapsedTime - Time the task took to executeelapsedTimeNanos -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||