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()
Starts the Health Controller
administrator
operator
public void disable()
Stops the Health Controller
administrator
operator
public boolean isEnabled()
Checks if the Health Controller is enabled
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
public String getActiveControllerLocation()
Returns the active health controller location.
administrator
operator
public int getMaxConsecutiveRestarts()
Gets the maximum number of consecutive restarts allowed
administrator
operator
public void setMaxConsecutiveRestarts(
int value
)
Sets the maximum number of consecutive restarts allowed
value
-
the maximum number of consecutive restarts allowed
administrator
operator
public int getControlCycleLength()
Gets the length of the control cycle in minutes
administrator
operator
public void setControlCycleLength(
int value
)
Sets the length of the control cycle in minutes
value
-
length of control cycle in minutes
administrator
operator
public int getMinRestartInterval()
Gets the minimum length of time between restarts
administrator
operator
public void setMinRestartInterval(
int value,
int units
)
Sets the minimum length of time between restarts
value
-
minimum time between restarts units
-
units for minimum time between restarts
administrator
operator
public int getMinRestartIntervalUnits()
Gets the unit value for the minimum restart interval
administrator
operator
public int getRestartTimeout()
Gets the timeout for restart events in minutes
administrator
operator
public void setRestartTimeout(
int value
)
Sets the timeout for restart events
value
-
restart timeout in minutes
administrator
operator
public java.util.List getProhibitedRestartTimes()
Gets the list of prohibited restart times
administrator
operator
public void setProhibitedRestartTimes(
java.util.List times
)
Sets the list of prohibited restart times
times
-
prohibited restart times
administrator
operator
public void execute(
com.ibm.ws.taskmanagement.task.TaskActionPlan actionPlan,
long token,
long id
)
Execute an action plan.
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.
administrator
operator
public boolean isNodeMaintenance(
java.lang.String nodeName
)
Checks if HMM finds the node in maintenance mode
nodeName
-
node name
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
public void enableServer(
java.lang.String nodeName,
java.lang.String serverName
)
Enables a server for restarts
nodeName
-
node name serverName
-
node name
administrator
operator
public void disableServer(
java.lang.String nodeName,
java.lang.String serverName
)
Disables a server for restarts
nodeName
-
node name serverName
-
node name
administrator
operator
public boolean isServerEnabled(
java.lang.String nodeName,
java.lang.String serverName
)
Checks if the server is enabled for restarts
nodeName
-
node name serverName
-
node name
administrator
operator
configurator
monitor
deployer
adminsecuritymanager