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.since 9.5, useClusterAwareLifecycleManagerImpl
instead
-
-
Constructor Summary
Constructors Constructor Description ServerLifecycleManagerImpl(ClusterAwareLifecycleManager clusterAwareLifecycleManager)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description @NotNull ServerLifecycleState
getServerLifecycleState()
Deprecated.CompletableFuture<ServerLifecycleState>
pauseServer()
Deprecated.Submits pause server request.@NotNull ServerLifecycleState
prepareForRestart()
Deprecated.Puts the server into theServerLifecycleState.PREPARING_FOR_RESTART
state@NotNull ServerLifecycleState
resumeServer()
Deprecated.Puts the server into theServerLifecycleState.RUNNING
statevoid
secondaryRunning()
Deprecated.Puts the server into theServerLifecycleState.RUNNING_AS_SECONDARY
statevoid
serverRunning()
Deprecated.Puts the server into theServerLifecycleState.RUNNING
statevoid
serverStarting()
Deprecated.Puts the server into theServerLifecycleState.STARTING
state
-
-
-
Constructor Detail
-
ServerLifecycleManagerImpl
public ServerLifecycleManagerImpl(ClusterAwareLifecycleManager clusterAwareLifecycleManager)
Deprecated.
-
-
Method Detail
-
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
public CompletableFuture<ServerLifecycleState> pauseServer()
Deprecated.Description copied from interface:ServerLifecycleManager
Submits pause server request.- Specified by:
pauseServer
in interfaceServerLifecycleManager
- Returns:
- Future for pause server operation
-
prepareForRestart
@NotNull public @NotNull ServerLifecycleState 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
@NotNull public @NotNull ServerLifecycleState resumeServer()
Deprecated.Description copied from interface:ServerLifecycleManager
Puts the server into theServerLifecycleState.RUNNING
state- Specified by:
resumeServer
in interfaceServerLifecycleManager
- Returns:
- current
ServerLifecycleState
-
getServerLifecycleState
@NotNull public @NotNull ServerLifecycleState getServerLifecycleState()
Deprecated.- Specified by:
getServerLifecycleState
in interfaceServerLifecycleManager
- Returns:
- gets the current
ServerLifecycleState
-
-