|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UpgradeGate
Gate the upgrade progress across nodes so that only one node will perform plugin dependent upgrades. You should not that the mechanism for exclusion for non-plugin dependent upgrades is unchanged and still represented in the DefaultUpgradeManager.
| Method Summary | |
|---|---|
boolean |
isPluginDependentUpgradeCompleteWithWait()
Check is the plugin dependent upgrades have been completed. |
boolean |
isUpgradeRequiredWithWait()
Check the upgrade status set via setUpgradeRequired(boolean). |
void |
setPluginDependentUpgradeComplete(boolean complete)
|
void |
setUpgradeRequired(boolean required)
|
| Method Detail |
|---|
void setUpgradeRequired(boolean required)
required - if true then an upgrade is required.void setPluginDependentUpgradeComplete(boolean complete)
complete - if true then the plugin dependent upgrade is finished, otherwise it is not yet complete.boolean isUpgradeRequiredWithWait()
setUpgradeRequired(boolean). If it has not been set yet then the caller
will keep trying for #UPGRADE_REQUIRED_CHECK_ATTEMPTS * #UPGRADE_REQUIRED_CHECK_SLEEP milliseconds before
returning a default value of false.
boolean isPluginDependentUpgradeCompleteWithWait()
#WAIT_FOR_OTHER_NODE_UPGRADE_ATTEMPTS * #WAIT_FOR_OTHER_NODE_UPGRADE_SLEEP milliseconds before
returning a default value of false.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||