java.lang.Object
is.codion.tools.monitor.model.HostMonitor
A HostMonitor
-
Constructor Summary
ConstructorsConstructorDescriptionHostMonitor(String hostname, int registryPort, User adminUser, int updateRate) Instantiates a newHostMonitor -
Method Summary
-
Constructor Details
-
HostMonitor
public HostMonitor(String hostname, int registryPort, User adminUser, int updateRate) throws RemoteException Instantiates a newHostMonitor- Parameters:
hostname- the name of the host to monitorregistryPort- the registry portadminUser- the admin userupdateRate- the initial statistics update rate in seconds- Throws:
RemoteException- in case of an exception
-
-
Method Details
-
hostname
- Returns:
- the hostname
-
registryPort
public int registryPort()- Returns:
- the registry port
-
refresh
Refreshes the servers on this host- Throws:
RemoteException- in case of an exception
-
serverMonitors
- Returns:
- the server monitors for this host
-
serverAdded
- Returns:
- an observer notified each time a server is added
-
serverRemoved
- Returns:
- an observer notified each time a server is removed
-