Package is.codion.tools.monitor.model
Class EntityServerMonitor
java.lang.Object
is.codion.tools.monitor.model.EntityServerMonitor
A monitor for the EntityServer
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PropertyValue<Integer>
Specifies the statistics polling rate for the server monitor, in seconds. -
Constructor Summary
ConstructorDescriptionEntityServerMonitor
(String hostNames, int registryPort, User adminUser) Instantiates a newEntityServerMonitor
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
refresh()
Refreshes the serversvoid
setUpdateInterval
(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()
-