|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ServerManagerMonitorMBean
Provides ability to manage a ServerManager. Also provides statistics about the ServerManager.
Supported API: true
Extendable: true
| Field Summary | |
|---|---|
static String |
PING_FAILED_NOTIFY_TYPE
String PING_FAILED_NOTIFY_TYPE - Notification for when a ping fails. |
static String |
PING_SUCCESS_NOTIFY_TYPE
String PING_SUCCESS_NOTIFY_TYPE - Notification for when a ping succeeds. |
| Method Summary | |
|---|---|
boolean |
getAllowInitialAutoStartup()
Allows/disallows auto startup of the ServerManager if it is not already running. |
double |
getAvgPingResponseSeconds()
The average response time of ServerManager pings (in seconds). |
int |
getFailedPingsUntilRestart()
The number of failed pings before attempting to restart the ServerManager. |
double |
getLastPingResponseSeconds()
The response time of the most recent ping of the ServerManager (in seconds). |
Timestamp |
getLastResetTime()
Time at which cumulative statistics were last reset. |
String |
getLoggerLevel()
The current level of the logger. |
String |
getLoggerName()
The logger name. |
double |
getPercentageServerManagerUpTime()
The percentage of time the ServerManager is up. |
int |
getPingIntervalSeconds()
The current interval between pings (in seconds). |
CompositeData |
getServerManagerInfo()
Usage information and statistics about the ServerManager. |
int |
getServerManagerPings()
The total number of ServerManager pings attempted. |
String |
pingServerManager()
Ping the ServerManager. |
void |
resetStatistics()
Reset ping response time statistics. |
String |
restartServerManger()
Restart the ServerManager. |
void |
setAllowInitialAutoStartup(boolean allowAutoStartup)
Allows/disallows auto startup of the ServerManager if it is not already running. |
void |
setFailedPingsUntilRestart(int newFailedPingsUntilRestart)
The number of failed pings before attempting to restart the ServerManager. |
void |
setLoggerLevel(String logLevel)
The current level of the logger. |
void |
setPingIntervalSeconds(int pingIntervalSeconds)
The current interval between pings (in seconds). |
String |
startServerManager()
Start the ServerManager. |
String |
stopServerManager()
Stop the ServerManager. |
| Methods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean |
|---|
emailThisMBean |
| Field Detail |
|---|
static final String PING_FAILED_NOTIFY_TYPE
static final String PING_SUCCESS_NOTIFY_TYPE
| Method Detail |
|---|
String getLoggerLevel()
void setLoggerLevel(String logLevel)
logLevel - - The new log level.String getLoggerName()
int getPingIntervalSeconds()
void setPingIntervalSeconds(int pingIntervalSeconds)
pingIntervalSeconds - - Number of seconds between pings.int getFailedPingsUntilRestart()
boolean getAllowInitialAutoStartup()
void setAllowInitialAutoStartup(boolean allowAutoStartup)
allowAutoStartup - - Allows/disallows auto startup of the ServerManager if it is not already running.void setFailedPingsUntilRestart(int newFailedPingsUntilRestart)
newFailedPingsUntilRestart - - Number of failed pings allowed before attempting to restart the ServerManager.double getLastPingResponseSeconds()
double getAvgPingResponseSeconds()
double getPercentageServerManagerUpTime()
int getServerManagerPings()
Timestamp getLastResetTime()
CompositeData getServerManagerInfo()
throws Exception
Exception - - If there is an error getting the ServerManager info.
String stopServerManager()
throws Exception
WTException - - Contains message describing the problem and the original exception.
Exception
String startServerManager()
throws Exception
WTException - - Contains message describing the problem and the original exception.
Exception
String restartServerManger()
throws Exception
WTException - - Contains message describing the problem and the original exception.
Exception
String pingServerManager()
throws Exception
Exception - - When error occurrs while attempting to ping the ServerManager. Contains message describing the problem and the original Exception.void resetStatistics()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||