|
|||||||||
| Home >> All >> org >> jbossmx >> cluster >> watchdog >> mbean >> [ watchdog overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.jbossmx.cluster.watchdog.mbean.watchdog
Interface CorrectiveAction

- All Superinterfaces:
- java.lang.Cloneable
- All Known Implementing Classes:
- BaseCorrectiveAction
- public interface CorrectiveAction
- extends java.lang.Cloneable
Interface for corrective actions to take on MBeans
| Method Summary | |
boolean |
apply()
Apply this CorrectiveAction. |
boolean |
canApply()
Returns whether this CorrectiveAction can be applied. |
CorrectiveActionContext |
getCorrectiveActionContext()
Returns the CorrectiveActionContext of this CorrectiveAction |
int |
getNumberOfTimesToApply()
Get the total number of times this CorrectiveAction can be applied. |
boolean |
isOverridenBy(CorrectiveAction correctiveAction)
Determine if correctiveAction overides this one. |
boolean |
isOverridenBy(java.util.Set correctiveActions)
Determine if any of the CorrectiveActions in correctiveActions overides this one. |
CorrectiveAction |
setCorrectiveActionContext(CorrectiveActionContext correctiveActionContext)
Sets the CorrectiveActionContext of this CorrectiveAction |
CorrectiveAction |
setNumberOfTimesToApply(int numberOfTimesToApply)
Sets the number of times this CorrectiveAction can be applied |
| Method Detail |
canApply
public boolean canApply()
- Returns whether this CorrectiveAction can be applied.
apply
public boolean apply()
throws java.lang.Exception
- Apply this CorrectiveAction.
isOverridenBy
public boolean isOverridenBy(CorrectiveAction correctiveAction)
- Determine if
correctiveActionoverides this one.
isOverridenBy
public boolean isOverridenBy(java.util.Set correctiveActions)
- Determine if any of the CorrectiveActions in
correctiveActionsoverides this one.
setCorrectiveActionContext
public CorrectiveAction setCorrectiveActionContext(CorrectiveActionContext correctiveActionContext)
- Sets the CorrectiveActionContext of this CorrectiveAction
getCorrectiveActionContext
public CorrectiveActionContext getCorrectiveActionContext()
- Returns the CorrectiveActionContext of this CorrectiveAction
setNumberOfTimesToApply
public CorrectiveAction setNumberOfTimesToApply(int numberOfTimesToApply)
- Sets the number of times this CorrectiveAction can be applied
getNumberOfTimesToApply
public int getNumberOfTimesToApply()
- Get the total number of times this CorrectiveAction can be applied.
|
|||||||||
| Home >> All >> org >> jbossmx >> cluster >> watchdog >> mbean >> [ watchdog overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC