WebSphere:*,type=HmmControllerMBean
MBean HmmControllerMBean
HealthController
Operation Summary | |
void | enable() Starts the Health Controller |
void | disable() Stops the Health Controller |
boolean | isEnabled() Checks if the Health Controller is enabled |
String | getActiveControllerLocation() Returns the active health controller location. |
int | getMaxConsecutiveRestarts() Gets the maximum number of consecutive restarts allowed |
void | setMaxConsecutiveRestarts( Sets the maximum number of consecutive restarts allowed |
int | getControlCycleLength() Gets the length of the control cycle in minutes |
void | setControlCycleLength( Sets the length of the control cycle in minutes |
int | getMinRestartInterval() Gets the minimum length of time between restarts |
void | setMinRestartInterval( Sets the minimum length of time between restarts |
int | getMinRestartIntervalUnits() Gets the unit value for the minimum restart interval |
int | getRestartTimeout() Gets the timeout for restart events in minutes |
void | setRestartTimeout( Sets the timeout for restart events |
java.util.List | getProhibitedRestartTimes() Gets the list of prohibited restart times |
void | setProhibitedRestartTimes( Sets the list of prohibited restart times |
void | execute( Execute an action plan. |
boolean | isNodeMaintenance( Checks if HMM finds the node in maintenance mode |
void | enableServer( Enables a server for restarts |
void | disableServer( Disables a server for restarts |
boolean | isServerEnabled( Checks if the server is enabled for restarts |
Operation Detail |
public void enable()
public void disable()
public boolean isEnabled()
public String getActiveControllerLocation()
public int getMaxConsecutiveRestarts()
public void setMaxConsecutiveRestarts(int value
)
value
-
the maximum number of consecutive restarts allowed
public int getControlCycleLength()
public void setControlCycleLength(int value
)
value
-
length of control cycle in minutes
public int getMinRestartInterval()
public void setMinRestartInterval(int value,
int units
)
value
-
minimum time between restartsunits
-
units for minimum time between restarts
public int getMinRestartIntervalUnits()
public int getRestartTimeout()
public void setRestartTimeout(int value
)
value
-
restart timeout in minutes
public java.util.List getProhibitedRestartTimes()
public void setProhibitedRestartTimes(java.util.List times
)
times
-
prohibited restart times
public void execute(com.ibm.ws.taskmanagement.task.TaskActionPlan actionPlan,
long token,
long id
)
actionPlan
-
The action plan to be executed.token
-
The execution token for this action plan.id
-
The global id of the task - the task identifier.
public boolean isNodeMaintenance(java.lang.String nodeName
)
nodeName
-
node name
public void enableServer(java.lang.String nodeName,
java.lang.String serverName
)
nodeName
-
node nameserverName
-
node name
public void disableServer(java.lang.String nodeName,
java.lang.String serverName
)
nodeName
-
node nameserverName
-
node name
public boolean isServerEnabled(java.lang.String nodeName,
java.lang.String serverName
)
nodeName
-
node nameserverName
-
node name