org.apache.jmeter.visualizers

Class ServerPanel

Implemented Interfaces:
MonitorGuiListener

public class ServerPanel
extends JPanel
implements MonitorGuiListener

The purpose of ServerPanel is to display an unique server and its current status. The server label consist of the protocol, host and port. For example, a system with multiple Tomcat's running on different ports would be different ServerPanel.

Constructor Summary

ServerPanel()
Deprecated. Only for use in unit testing
ServerPanel(MonitorModel model)

Method Summary

void
updateGui()
update the gui
void
updateGui(MonitorModel stat)
Method will update the ServerPanel's health, load, and timestamp.

Constructor Details

ServerPanel

public ServerPanel()

Deprecated. Only for use in unit testing


ServerPanel

public ServerPanel(MonitorModel model)

Method Details

updateGui

public void updateGui()
update the gui
Specified by:
updateGui in interface MonitorGuiListener

updateGui

public void updateGui(MonitorModel stat)
Method will update the ServerPanel's health, load, and timestamp. For efficiency, it uses the static method to lookup the images.
Specified by:
updateGui in interface MonitorGuiListener

Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.