net.sourceforge.basher.impl
Class CSVFileCollector
java.lang.Object
net.sourceforge.basher.impl.AbstractCollector
net.sourceforge.basher.impl.AbstractFileCollector
net.sourceforge.basher.impl.CSVFileCollector
- All Implemented Interfaces:
- EventListener, Collector, BasherEventListener, org.ops4j.gaderian.events.RegistryShutdownListener
public class CSVFileCollector
- extends AbstractFileCollector
- implements org.ops4j.gaderian.events.RegistryShutdownListener
- Version:
- 1.0
- Author:
- Johan Lindquist
Methods inherited from class net.sourceforge.basher.impl.AbstractFileCollector |
closeOpenResources, dumpAverage, fail, getWriter, initializeCollector, initializeService, 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 |
Methods inherited from interface org.ops4j.gaderian.events.RegistryShutdownListener |
registryDidShutdown |
CSVFileCollector
public CSVFileCollector()
formatAverage
protected String formatAverage(Average average)
- Specified by:
formatAverage
in class AbstractFileCollector
formatExecution
protected String formatExecution(String taskName,
long elapsedTime,
long elapsedTimeNanos)
- Writes the time the specified task took to execute.
- Specified by:
formatExecution
in class AbstractFileCollector
- Parameters:
taskName
- The name of the task (used for the filename as well)elapsedTime
- Time the task took to executeelapsedTimeNanos
-
Copyright © 2006-2010 Basher Team. All Rights Reserved.