Class EntityServerMonitor
java.lang.Object
is.codion.swing.framework.server.monitor.EntityServerMonitor
A monitor for the EntityServer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final is.codion.common.property.PropertyValue<Integer>Specifies the statistics polling rate for the server monitor, in seconds. -
Constructor Summary
ConstructorsConstructorDescriptionEntityServerMonitor(String hostNames, int registryPort, is.codion.common.user.User adminUser) Instantiates a newEntityServerMonitor -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidrefresh()Refreshes the serversvoidsetUpdateInterval(Integer interval)
-
Field Details
-
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, is.codion.common.user.User adminUser) throws RemoteException Instantiates a newEntityServerMonitor- Parameters:
hostNames- a comma separated list of hostnames to monitorregistryPort- the registry portadminUser- the admin user- Throws:
RemoteException- in case of an exception
-
-
Method Details
-
hostMonitors
- Returns:
- the host monitors for this server
-
refresh
Refreshes the servers- Throws:
RemoteException- in case of a communication error
-
setUpdateInterval
-
clearCharts
public void clearCharts()
-