wt.manager
Class StandardServerMonitor
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
wt.util.RMIServer
wt.manager.StandardServerMonitor
- All Implemented Interfaces:
- Remote, Serializable, ServerMonitors, Unreferenced
- public class StandardServerMonitor
- extends RMIServer
- implements ServerMonitors, Unreferenced
Supported API: false
Extendable: false
- See Also:
- Serialized Form
Constructor Summary |
StandardServerMonitor()
NoArg Constructor, get an instance of the server manager
and start up Server(s), loop periodically checking
on them. |
Methods inherited from class wt.util.RMIServer |
clone, exportObject, exportObject, exportObject, getClientSocketFactory, getPort, getServerSocketFactory, getStub, isHostInList, isLocalHost, setPort, writeReplace |
versionID
public static final String versionID
- See Also:
- Constant Field Values
RMI_TIMEOUT
private int RMI_TIMEOUT
DEFAULT_INTERVAL
private int DEFAULT_INTERVAL
PING_TIMEOUT
private int PING_TIMEOUT
VERBOSE
private boolean VERBOSE
MARSHAL_RETRY
private int MARSHAL_RETRY
MONITORS
private String MONITORS
properties
private WTProperties properties
SERVER_MONITOR
public static final String SERVER_MONITOR
- See Also:
- Constant Field Values
server_manager
RemoteServerManager server_manager
monitors
private Hashtable monitors
StandardServerMonitor
public StandardServerMonitor()
throws RemoteException
- NoArg Constructor, get an instance of the server manager
and start up Server(s), loop periodically checking
on them.
Supported API: false
getServicesStarted
public Vector getServicesStarted()
throws RemoteException
- Supported API: false
- Specified by:
getServicesStarted
in interface ServerMonitors
- Throws:
RemoteException
getServiceStats
public ServiceStat getServiceStats(String service_name)
throws RemoteException
- Supported API: false
- Specified by:
getServiceStats
in interface ServerMonitors
- Throws:
RemoteException
unreferenced
public void unreferenced()
- Supported API: false
- Specified by:
unreferenced
in interface Unreferenced
getProperties
void getProperties()
- get local Properties
getAllServers
Vector getAllServers(String server_name)
- Get all servers from the server manager