|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MonitorServer
This MonitorServer is used to offer some general interface methods of Monitor Server.
| Method Summary | |
|---|---|
Member[] |
getClusteredServers()
Gets all the servers that have joined to the cluster. |
java.lang.String |
getClusterName()
Gets the cluster name. |
MonitorService |
getMonitorService(java.lang.String host,
int port)
Gets a reference of MonitorService instance,
which has been created to provide monitor service for the specified Report Server. |
MonitorSetting |
getMonitorSettings()
Gets a MonitorSetting reference. |
Member[] |
getPredefinedServers()
Deprecated. since v10 |
ServerStatus |
getServerStatus(java.lang.String host,
int port)
Gets ServerStatus information of the specified Report Server. |
UserSessionManager |
getUserSessionManager()
Gets a reference of UserSessionManager instance. |
void |
init(java.util.Properties props)
Initializes parameters setting of Monitor Server. |
boolean |
isCluster()
Judges whether or not the monitored admin server is in a server cluster. |
boolean |
isStarted()
Judges whether or not the Monitor Server has been started. |
boolean |
isStarted(java.lang.String host,
int port)
Judges whether or not the specified Report Server is started. |
boolean |
isStarting(java.lang.String host,
int port)
Judges whether or not the specified Report Server is starting. |
void |
restart(java.util.Properties props)
Restarts the Monitor Server according to the specified properties. |
void |
setUserSessionManager(UserSessionManager usMan)
Sets UserSessionManager to current Monitor Server. |
void |
shutdown()
Stops all monitors and exits the Monitor Server. |
void |
start()
Starts up the Monitor Server after it has been initialized. |
void |
stopServer(java.lang.String host,
int port)
Stops the specified Report server from Monitor Server. |
| Method Detail |
|---|
void init(java.util.Properties props)
props - The initialization parameter properties of Monitor Server.void start()
boolean isStarted()
void restart(java.util.Properties props)
props - The specified properties for restarting the Monitor Server.void shutdown()
MonitorService getMonitorService(java.lang.String host,
int port)
MonitorService instance,
which has been created to provide monitor service for the specified Report Server.
host - The host IP address of the computer in which the monitored Report Server is located.port - The port number which is specified to the monitored Report Server.
MonitorService reference,
which has been created to offer monitor service for the specified Report Server.boolean isCluster()
java.lang.String getClusterName()
Member[] getPredefinedServers()
Member array that contains all the predefined servers.Member[] getClusteredServers()
Member array that contains all active clustered servers.
boolean isStarted(java.lang.String host,
int port)
boolean isStarting(java.lang.String host,
int port)
ServerStatus getServerStatus(java.lang.String host,
int port)
ServerStatus information of the specified Report Server.
host - The host IP address of the computer in which the specified Report Server is located.port - The port number which is specified to the Report Server.
ServerStatus instance.UserSessionManager getUserSessionManager()
UserSessionManager instance.
UserSessionManager reference.void setUserSessionManager(UserSessionManager usMan)
UserSessionManager to current Monitor Server.
usMan - the UserSessionManager instance.MonitorSetting getMonitorSettings()
MonitorSetting reference.
MonitorSetting reference.
void stopServer(java.lang.String host,
int port)
host - The host IP address of the computer in which the specified Report Server is located.port - The port number which is specified to the Report Server.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||