public final class EntityServerMonitor
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static PropertyValue<java.lang.Integer> |
SERVER_MONITOR_UPDATE_RATE
Specifies the statistics polling rate for the server monitor, in seconds.
|
| Constructor and Description |
|---|
EntityServerMonitor(java.lang.String hostNames,
int registryPort)
Instantiates a new
EntityServerMonitor |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<HostMonitor> |
getHostMonitors() |
void |
refresh()
Refreshes the servers
|
public static final PropertyValue<java.lang.Integer> SERVER_MONITOR_UPDATE_RATE
public EntityServerMonitor(java.lang.String hostNames,
int registryPort)
throws java.rmi.RemoteException
EntityServerMonitorhostNames - a comma separated list of hostnames to monitorregistryPort - the registry portjava.rmi.RemoteException - in case of an exceptionpublic java.util.Collection<HostMonitor> getHostMonitors()
public void refresh()
throws java.rmi.RemoteException
java.rmi.RemoteException - in case of a communication error