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
Security Roles:
administrator
operator

disable

public void disable()
Stops the Health Controller
Security Roles:
administrator
operator

isEnabled

public boolean isEnabled()
Checks if the Health Controller is enabled
Security Roles:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

getActiveControllerLocation

public String getActiveControllerLocation()
Returns the active health controller location.
Security Roles:
administrator
operator

getMaxConsecutiveRestarts

public int getMaxConsecutiveRestarts()
Gets the maximum number of consecutive restarts allowed
Security Roles:
administrator
operator

setMaxConsecutiveRestarts

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

getControlCycleLength

public int getControlCycleLength()
Gets the length of the control cycle in minutes
Security Roles:
administrator
operator

setControlCycleLength

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

getMinRestartInterval

public int getMinRestartInterval()
Gets the minimum length of time between restarts
Security Roles:
administrator
operator

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
Security Roles:
administrator
operator

getMinRestartIntervalUnits

public int getMinRestartIntervalUnits()
Gets the unit value for the minimum restart interval
Security Roles:
administrator
operator

getRestartTimeout

public int getRestartTimeout()
Gets the timeout for restart events in minutes
Security Roles:
administrator
operator

setRestartTimeout

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

getProhibitedRestartTimes

public java.util.List getProhibitedRestartTimes()
Gets the list of prohibited restart times
Security Roles:
administrator
operator

setProhibitedRestartTimes

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

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.
Security Roles:
administrator
operator

isNodeMaintenance

public boolean isNodeMaintenance(java.lang.String nodeName)
Checks if HMM finds the node in maintenance mode
Parameters:
nodeName - node name
Security Roles:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

enableServer

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

disableServer

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

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
Security Roles:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

Copyright IBM Corp. 1996-2005