HmmControllerMBean MBean

Partial ObjectName:
WebSphere:*,type=HmmControllerMBean


MBean HmmControllerMBean

HealthController


Operation Summary
voidenable()
           Starts the Health Controller
voiddisable()
           Stops the Health Controller
booleanisEnabled()
           Checks if the Health Controller is enabled
StringgetActiveControllerLocation()
           Returns the active health controller location.
intgetMaxConsecutiveRestarts()
           Gets the maximum number of consecutive restarts allowed
voidsetMaxConsecutiveRestarts(int value)
           Sets the maximum number of consecutive restarts allowed
intgetControlCycleLength()
           Gets the length of the control cycle in minutes
voidsetControlCycleLength(int value)
           Sets the length of the control cycle in minutes
intgetMinRestartInterval()
           Gets the minimum length of time between restarts
voidsetMinRestartInterval(int value, int units)
           Sets the minimum length of time between restarts
intgetMinRestartIntervalUnits()
           Gets the unit value for the minimum restart interval
intgetRestartTimeout()
           Gets the timeout for restart events in minutes
voidsetRestartTimeout(int value)
           Sets the timeout for restart events
java.util.ListgetProhibitedRestartTimes()
           Gets the list of prohibited restart times
voidsetProhibitedRestartTimes(java.util.List times)
           Sets the list of prohibited restart times
voidexecute(com.ibm.ws.taskmanagement.task.TaskActionPlan actionPlan, long token, long id)
           Execute an action plan.
booleanisNodeMaintenance(java.lang.String nodeName)
           Checks if HMM finds the node in maintenance mode
voidenableServer(java.lang.String nodeName, java.lang.String serverName)
           Enables a server for restarts
voiddisableServer(java.lang.String nodeName, java.lang.String serverName)
           Disables a server for restarts
booleanisServerEnabled(java.lang.String nodeName, java.lang.String serverName)
           Checks if the server is enabled for restarts

Operation Detail

enable

public void enable()
Starts the Health Controller

disable

public void disable()
Stops the Health Controller

isEnabled

public boolean isEnabled()
Checks if the Health Controller is enabled

getActiveControllerLocation

public String getActiveControllerLocation()
Returns the active health controller location.

getMaxConsecutiveRestarts

public int getMaxConsecutiveRestarts()
Gets the maximum number of consecutive restarts allowed

setMaxConsecutiveRestarts

public void setMaxConsecutiveRestarts(int value)
Sets the maximum number of consecutive restarts allowed
Parameters:
value - the maximum number of consecutive restarts allowed

getControlCycleLength

public int getControlCycleLength()
Gets the length of the control cycle in minutes

setControlCycleLength

public void setControlCycleLength(int value)
Sets the length of the control cycle in minutes
Parameters:
value - length of control cycle in minutes

getMinRestartInterval

public int getMinRestartInterval()
Gets the minimum length of time between restarts

setMinRestartInterval

public void setMinRestartInterval(int value, int units)
Sets the minimum length of time between restarts
Parameters:
value - minimum time between restarts
units - units for minimum time between restarts

getMinRestartIntervalUnits

public int getMinRestartIntervalUnits()
Gets the unit value for the minimum restart interval

getRestartTimeout

public int getRestartTimeout()
Gets the timeout for restart events in minutes

setRestartTimeout

public void setRestartTimeout(int value)
Sets the timeout for restart events
Parameters:
value - restart timeout in minutes

getProhibitedRestartTimes

public java.util.List getProhibitedRestartTimes()
Gets the list of prohibited restart times

setProhibitedRestartTimes

public void setProhibitedRestartTimes(java.util.List times)
Sets the list of prohibited restart times
Parameters:
times - prohibited restart times

execute

public void execute(com.ibm.ws.taskmanagement.task.TaskActionPlan actionPlan, long token, long id)
Execute an action plan.
Parameters:
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.

isNodeMaintenance

public boolean isNodeMaintenance(java.lang.String nodeName)
Checks if HMM finds the node in maintenance mode
Parameters:
nodeName - node name

enableServer

public void enableServer(java.lang.String nodeName, java.lang.String serverName)
Enables a server for restarts
Parameters:
nodeName - node name
serverName - node name

disableServer

public void disableServer(java.lang.String nodeName, java.lang.String serverName)
Disables a server for restarts
Parameters:
nodeName - node name
serverName - node name

isServerEnabled

public boolean isServerEnabled(java.lang.String nodeName, java.lang.String serverName)
Checks if the server is enabled for restarts
Parameters:
nodeName - node name
serverName - node name

Copyright IBM Corp. 1996 - 2007