Package com.atlassian.bamboo
Class ServerLifecycleManagerImpl
java.lang.Object
com.atlassian.bamboo.ServerLifecycleManagerImpl
- All Implemented Interfaces:
ServerLifecycleManager
@Deprecated
public class ServerLifecycleManagerImpl
extends Object
implements ServerLifecycleManager
Deprecated.
-
Constructor Summary
ConstructorDescriptionServerLifecycleManagerImpl
(ClusterAwareLifecycleManager clusterAwareLifecycleManager) Deprecated. -
Method Summary
Modifier and TypeMethodDescription@NotNull ServerLifecycleState
Deprecated.Deprecated.Submits pause server request.@NotNull ServerLifecycleState
Deprecated.Puts the server into theServerLifecycleState.PREPARING_FOR_RESTART
state@NotNull ServerLifecycleState
Deprecated.Puts the server into theServerLifecycleState.RUNNING
statevoid
Deprecated.Puts the server into theServerLifecycleState.RUNNING_AS_SECONDARY
statevoid
Deprecated.Puts the server into theServerLifecycleState.RUNNING
statevoid
Deprecated.Puts the server into theServerLifecycleState.STARTING
state
-
Constructor Details
-
ServerLifecycleManagerImpl
Deprecated.
-
-
Method Details
-
serverStarting
public void serverStarting()Deprecated.Description copied from interface:ServerLifecycleManager
Puts the server into theServerLifecycleState.STARTING
state- Specified by:
serverStarting
in interfaceServerLifecycleManager
-
serverRunning
public void serverRunning()Deprecated.Description copied from interface:ServerLifecycleManager
Puts the server into theServerLifecycleState.RUNNING
state- Specified by:
serverRunning
in interfaceServerLifecycleManager
-
secondaryRunning
public void secondaryRunning()Deprecated.Description copied from interface:ServerLifecycleManager
Puts the server into theServerLifecycleState.RUNNING_AS_SECONDARY
state- Specified by:
secondaryRunning
in interfaceServerLifecycleManager
-
pauseServer
Deprecated.Description copied from interface:ServerLifecycleManager
Submits pause server request.- Specified by:
pauseServer
in interfaceServerLifecycleManager
- Returns:
- Future for pause server operation
-
prepareForRestart
Deprecated.Description copied from interface:ServerLifecycleManager
Puts the server into theServerLifecycleState.PREPARING_FOR_RESTART
state- Specified by:
prepareForRestart
in interfaceServerLifecycleManager
- Returns:
- current
ServerLifecycleState
-
resumeServer
Deprecated.Description copied from interface:ServerLifecycleManager
Puts the server into theServerLifecycleState.RUNNING
state- Specified by:
resumeServer
in interfaceServerLifecycleManager
- Returns:
- current
ServerLifecycleState
-
getServerLifecycleState
Deprecated.- Specified by:
getServerLifecycleState
in interfaceServerLifecycleManager
- Returns:
- gets the current
ServerLifecycleState
-
ClusterAwareLifecycleManagerImpl
instead