|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jmeter.visualizers.MonitorAccumModel
public class MonitorAccumModel
Constructor Summary | |
---|---|
MonitorAccumModel()
|
Method Summary | |
---|---|
void |
addListener(MonitorListener listener)
Add a listener. |
void |
addSample(MonitorModel model)
Method will look up the server in the map. |
void |
addSample(SampleResult sample)
Method will try to parse the response data. |
void |
clearData()
Clears everything except the listener. |
MonitorModel |
createNewMonitorModel(URL url)
Method will return a new MonitorModel object with the given URL. |
List<MonitorModel> |
getAllSamples(String url)
Get all MonitorModels matching the URL. |
int |
getBufferSize()
|
MonitorModel |
getLastSample()
Added this method we that we can save the calculated stats. |
MonitorModel |
getSample(String url)
Get the MonitorModel matching the url. |
void |
noResponse(URL url)
If there is no response from the server, we create a new MonitorStats object with the current timestamp and health "dead". |
void |
notifyListeners(MonitorModel model)
notify the listeners with the MonitorModel object. |
void |
setBufferSize(int buffer)
|
void |
setPrefix(String prefix)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MonitorAccumModel()
Method Detail |
---|
public int getBufferSize()
public void setBufferSize(int buffer)
public void setPrefix(String prefix)
public MonitorModel getLastSample()
public void addSample(MonitorModel model)
model
- public List<MonitorModel> getAllSamples(String url)
url
-
public MonitorModel getSample(String url)
url
-
public void addSample(SampleResult sample)
sample
- public void noResponse(URL url)
url
- public MonitorModel createNewMonitorModel(URL url)
url
-
public void clearData()
clearData
in interface Clearable
public void notifyListeners(MonitorModel model)
model
- public void addListener(MonitorListener listener)
listener
-
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |