java.lang.Object
is.codion.swing.framework.server.monitor.EntityServerMonitor

public final class EntityServerMonitor extends Object
A monitor for the EntityServer
  • Field Details

    • SERVER_MONITOR_UPDATE_RATE

      public static final PropertyValue<Integer> SERVER_MONITOR_UPDATE_RATE
      Specifies the statistics polling rate for the server monitor, in seconds. Value type: Integer
      Default value: 5
  • Constructor Details

    • EntityServerMonitor

      public EntityServerMonitor(String hostNames, int registryPort, User adminUser) throws RemoteException
      Instantiates a new EntityServerMonitor
      Parameters:
      hostNames - a comma separated list of hostnames to monitor
      registryPort - the registry port
      adminUser - the admin user
      Throws:
      RemoteException - in case of an exception
  • Method Details

    • hostMonitors

      public Collection<HostMonitor> hostMonitors()
      Returns:
      the host monitors for this server
    • refresh

      public void refresh() throws RemoteException
      Refreshes the servers
      Throws:
      RemoteException - in case of a communication error
    • setUpdateInterval

      public void setUpdateInterval(Integer interval)
    • clearCharts

      public void clearCharts()