public interface

InstantUpgradeManager

com.atlassian.jira.startup.InstantUpgradeManager
Known Indirect Subclasses

Class Overview

Delays tasks during an InstantUp scenario.

Summary

Constants
String INSTANT_UPGRADE The boolean system property indicating that an instant upgrade is in progress
Public Methods
ServiceResult activateInstance()
Called when the new instance is activated in an InstantUp scenario
void doNowOrWhenInstanceBecomesActive(Runnable runnable, String description)
Run this function immediately during a normal startup.

Constants

public static final String INSTANT_UPGRADE

The boolean system property indicating that an instant upgrade is in progress

Constant Value: "instant.upgrade"

Public Methods

public ServiceResult activateInstance ()

Called when the new instance is activated in an InstantUp scenario

public void doNowOrWhenInstanceBecomesActive (Runnable runnable, String description)

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

Parameters
runnable the function to run
description description of the function