|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataSet
DataSet extends Visualizer so that it can be used with ResultCollector. Classes implementing the interface should create a new instance of ResultCollector and call setListener(Visualizer) passing itself. When the ResultCollector.loadExistingFile is called, it will pass the SampleResults.
Method Summary | |
---|---|
java.lang.String |
getDataSource()
Return the datasource. |
java.lang.String |
getDataSourceName()
In some cases, we may want to return a string that isn't the full datasource string or something different. |
java.util.Date |
getDate()
Return the Date object using the start timestamp |
long |
getEndTimestamp()
return the timestamp in millisecond format. |
java.lang.String |
getMonthDayDate()
convienance method for getting the date in mmdd format |
java.lang.String |
getMonthDayYearDate()
convienant method for getting the date in yyyymmdd format |
long |
getStartTimestamp()
return the timestamp in millisecond format. |
SamplingStatCalculator |
getStatistics(java.lang.String url)
Return the SamplingStatCalculator for a specific URL. |
java.util.Set |
getStats()
Classes implementing the method should return instance of SamplingStatCalculator. |
java.util.List |
getStats(java.util.List urls)
Convienance method for getting all the SamplingStatCalculators for a given URL. |
java.util.Set |
getURLs()
Classes implementing the method should return the URL's in the DataSet. |
void |
loadData()
Classes implementing the method should load the data from the target location. |
void |
setDataSource(java.lang.String datasource)
Depending on the implementation, the datasouce could be a file or a RDBMS. |
void |
setEndTimestamp(long stamp)
Set the timestamp using the last result from the datasource |
void |
setStartTimestamp(long stamp)
Set the timestamp using the first result from the datasource |
Methods inherited from interface org.apache.jmeter.visualizers.Visualizer |
---|
add, isStats |
Method Detail |
---|
void setDataSource(java.lang.String datasource)
datasource
- java.lang.String getDataSource()
java.lang.String getDataSourceName()
void setStartTimestamp(long stamp)
stamp
- long getStartTimestamp()
void setEndTimestamp(long stamp)
stamp
- long getEndTimestamp()
java.util.Date getDate()
java.lang.String getMonthDayDate()
java.lang.String getMonthDayYearDate()
java.util.Set getURLs()
java.util.Set getStats()
SamplingStatCalculator getStatistics(java.lang.String url)
url
- java.util.List getStats(java.util.List urls)
urls
- void loadData()
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |