Class MeasuringPluginUpgradeManager

  • All Implemented Interfaces:
    com.atlassian.sal.api.lifecycle.LifecycleAware, com.atlassian.sal.api.upgrade.PluginUpgradeManager, org.springframework.beans.factory.InitializingBean

    public class MeasuringPluginUpgradeManager
    extends com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager
    Measures the execution times of individual upgrade tasks.
    Since:
    5.6
    • Field Summary

      • Fields inherited from class com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager

        LOCK_TIMEOUT_PROPERTY, LOCK_TIMEOUT_SECONDS
    • Constructor Summary

      Constructors 
      Constructor Description
      MeasuringPluginUpgradeManager​(List<com.atlassian.sal.api.upgrade.PluginUpgradeTask> upgradeTasks, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory, com.atlassian.plugin.event.PluginEventManager pluginEventManager, com.atlassian.beehive.ClusterLockService clusterLockService)  
    • Constructor Detail

      • MeasuringPluginUpgradeManager

        public MeasuringPluginUpgradeManager​(List<com.atlassian.sal.api.upgrade.PluginUpgradeTask> upgradeTasks,
                                             com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate,
                                             com.atlassian.plugin.PluginAccessor pluginAccessor,
                                             com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory,
                                             com.atlassian.plugin.event.PluginEventManager pluginEventManager,
                                             com.atlassian.beehive.ClusterLockService clusterLockService)
    • Method Detail

      • upgradeInternal

        public List<com.atlassian.sal.api.message.Message> upgradeInternal​(com.atlassian.plugin.Plugin plugin)
        Overrides:
        upgradeInternal in class com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager