public class

DefaultInstantUpgradeManager

extends Object
implements InstantUpgradeManager
java.lang.Object
   ↳ com.atlassian.jira.startup.DefaultInstantUpgradeManager

Summary

[Expand]
Inherited Constants
From interface com.atlassian.jira.startup.InstantUpgradeManager
Public Constructors
DefaultInstantUpgradeManager(JiraProperties jiraProperties)
Public Methods
ServiceResult activateInstance()
Called when the new instance is activated in an InstantUp scenario
void doNowOrWhenInstanceBecomesActive(Runnable task, String description)
Run this function immediately during a normal startup.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.startup.InstantUpgradeManager

Public Constructors

public DefaultInstantUpgradeManager (JiraProperties jiraProperties)

Public Methods

public ServiceResult activateInstance ()

Called when the new instance is activated in an InstantUp scenario

public void doNowOrWhenInstanceBecomesActive (Runnable task, String description)

Run this function immediately during a normal startup. If this is an instant upgrade scenario, delay the function until triggered.

Parameters
task the function to run
description description of the function