Package is.codion.tools.monitor.model
Class EntityServerMonitor
java.lang.Object
is.codion.tools.monitor.model.EntityServerMonitor
A monitor for the EntityServer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PropertyValue<Integer> Specifies the statistics polling rate for the server monitor, in seconds. -
Constructor Summary
ConstructorsConstructorDescriptionEntityServerMonitor(String hostnames, int registryPort, 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, 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()
-