Package com.atlassian.jira.cluster.zdu
Class DefaultClusterUpgradeStateManager
java.lang.Object
com.atlassian.jira.cluster.zdu.DefaultClusterUpgradeStateManager
- All Implemented Interfaces:
ClusterStateManager
,ClusterUpgradeStateManager
- Since:
- v7.3
-
Field Summary
Fields inherited from interface com.atlassian.jira.cluster.zdu.ClusterUpgradeStateManager
CLUSTER_UPGRADE_STATE_CHANGED, CLUSTER_UPGRADE_STATE_DARK_FEATURE
-
Constructor Summary
ConstructorDescriptionDefaultClusterUpgradeStateManager
(ClusterManager clusterManager, com.atlassian.beehive.ClusterLockService clusterLockService, ClusterUpgradeStateDao clusterUpgradeStateDao, ClusterInfo clusterInfo, com.atlassian.event.api.EventPublisher eventPublisher, FeatureManager featureManager, MessageHandlerService messageHandlerService, NodeBuildInfoFactory nodeBuildInfoFactory, UpgradeScheduler upgradeScheduler, DatabaseUpgradeStateManager databaseUpgradeStateManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
updateState
(JiraStartedEvent event)
-
Constructor Details
-
DefaultClusterUpgradeStateManager
public DefaultClusterUpgradeStateManager(ClusterManager clusterManager, com.atlassian.beehive.ClusterLockService clusterLockService, ClusterUpgradeStateDao clusterUpgradeStateDao, ClusterInfo clusterInfo, com.atlassian.event.api.EventPublisher eventPublisher, FeatureManager featureManager, MessageHandlerService messageHandlerService, NodeBuildInfoFactory nodeBuildInfoFactory, UpgradeScheduler upgradeScheduler, DatabaseUpgradeStateManager databaseUpgradeStateManager)
-
-
Method Details
-
startUpgrade
public void startUpgrade()- Specified by:
startUpgrade
in interfaceClusterUpgradeStateManager
-
cancelUpgrade
public void cancelUpgrade()- Specified by:
cancelUpgrade
in interfaceClusterUpgradeStateManager
-
approveUpgrade
public void approveUpgrade()- Specified by:
approveUpgrade
in interfaceClusterUpgradeStateManager
-
retryUpgrade
public void retryUpgrade()- Specified by:
retryUpgrade
in interfaceClusterUpgradeStateManager
-
updateState
-
onUpgradesFailed
-
onUpgradesCompleted
-
getUpgradeState
- Specified by:
getUpgradeState
in interfaceClusterStateManager
-
getClusterBuildInfo
- Specified by:
getClusterBuildInfo
in interfaceClusterUpgradeStateManager
-