public interface MonitorService
MonitorService takes charge of offering monitor service and management to the specified Report Server.| Modifier and Type | Method and Description |
|---|---|
DatabaseMonitor |
getDatabaseMonitor()
Gets a reference of
DatabaseMonitor. |
int |
getDefaultDuration()
Gets the default duration time (in milliseconds) of all monitors.
|
int |
getDefaultInterval()
Gets the default refreshing interval time (in milliseconds) of all monitors.
|
java.lang.String |
getHost()
Gets the host IP address of the currently monitored Report Server.
|
int |
getPort()
Gets the running port number of the currently monitored Report Server.
|
TaskMonitor |
getTaskMonitor()
Gets a reference of
TaskMonitor. |
UserMonitor |
getUserMonitor()
Gets a reference of
UserMonitor. |
void |
setDefaultDuration(int defDuration)
Sets all monitors' default duration time (in milliseconds).
|
void |
setDefaultInterval(int defInterval)
Sets all monitors' default refreshing interval time (in milliseconds).
|
void |
startAll()
Initializes and starts up all monitors.
|
void |
stopAll()
Stops all started monitors.
|
void startAll()
void stopAll()
void setDefaultInterval(int defInterval)
defInterval - Default refreshing interval time.int getDefaultInterval()
void setDefaultDuration(int defDuration)
defDuration - Default duration time.int getDefaultDuration()
TaskMonitor getTaskMonitor()
TaskMonitor.TaskMonitor.UserMonitor getUserMonitor()
UserMonitor.UserMonitor.DatabaseMonitor getDatabaseMonitor()
DatabaseMonitor.DatabaseMonitor.java.lang.String getHost()
int getPort()