public class DefaultInstantUpgradeManager extends Object implements InstantUpgradeManager
INSTANT_UPGRADE
Constructor and Description |
---|
DefaultInstantUpgradeManager(JiraProperties jiraProperties) |
Modifier and Type | Method and Description |
---|---|
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.
|
public DefaultInstantUpgradeManager(JiraProperties jiraProperties)
public void doNowOrWhenInstanceBecomesActive(Runnable task, String description)
InstantUpgradeManager
doNowOrWhenInstanceBecomesActive
in interface InstantUpgradeManager
task
- the function to rundescription
- description of the functionpublic ServiceResult activateInstance()
InstantUpgradeManager
activateInstance
in interface InstantUpgradeManager
Copyright © 2002-2015 Atlassian. All Rights Reserved.