com.atlassian.confluence.upgrade.UpgradeGate |
Known Indirect Subclasses |
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.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Check is the plugin dependent upgrades have been completed.
| |||||||||||
Check the upgrade status set via
setUpgradeRequired(boolean) . | |||||||||||
Check is the plugin dependent upgrades have been completed. If this is not yet true (indicating another node is performing the upgrades) then the caller will keep trying for #WAIT_FOR_OTHER_NODE_UPGRADE_ATTEMPTS * #WAIT_FOR_OTHER_NODE_UPGRADE_SLEEP milliseconds before returning a default value of false.
Check the upgrade status set via 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.
complete | if true then the plugin dependent upgrade is finished, otherwise it is not yet complete. |
---|
required | if true then an upgrade is required. |
---|