Class MonitorHealthPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Clearable, MonitorListener

public class MonitorHealthPanel extends JPanel implements MonitorListener, Clearable
The health panel is responsible for showing the health of the servers. It only uses the most current information to show the status.
See Also:
  • Constructor Details

    • MonitorHealthPanel

      @Deprecated public MonitorHealthPanel()
      Deprecated.
      Only for use in unit testing
    • MonitorHealthPanel

      public MonitorHealthPanel(MonitorAccumModel model)
      Parameters:
      model - model to use
  • Method Details

    • addSample

      public void addSample(MonitorModel model)
      Specified by:
      addSample in interface MonitorListener
      Parameters:
      model - information about monitored server
    • clearData

      public void clearData()
      clear will clear the hashmap, remove all ServerPanels from the servers pane, and update the ui.
      Specified by:
      clearData in interface Clearable