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, useClusterAwareLifecycleManagerImplinstead
-
-
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 ServerLifecycleStategetServerLifecycleState()Deprecated.CompletableFuture<ServerLifecycleState>pauseServer()Deprecated.Submits pause server request.@NotNull ServerLifecycleStateprepareForRestart()Deprecated.Puts the server into theServerLifecycleState.PREPARING_FOR_RESTARTstate@NotNull ServerLifecycleStateresumeServer()Deprecated.Puts the server into theServerLifecycleState.RUNNINGstatevoidsecondaryRunning()Deprecated.Puts the server into theServerLifecycleState.RUNNING_AS_SECONDARYstatevoidserverRunning()Deprecated.Puts the server into theServerLifecycleState.RUNNINGstatevoidserverStarting()Deprecated.Puts the server into theServerLifecycleState.STARTINGstate
-
-
-
Constructor Detail
-
ServerLifecycleManagerImpl
public ServerLifecycleManagerImpl(ClusterAwareLifecycleManager clusterAwareLifecycleManager)
Deprecated.
-
-
Method Detail
-
serverStarting
public void serverStarting()
Deprecated.Description copied from interface:ServerLifecycleManagerPuts the server into theServerLifecycleState.STARTINGstate- Specified by:
serverStartingin interfaceServerLifecycleManager
-
serverRunning
public void serverRunning()
Deprecated.Description copied from interface:ServerLifecycleManagerPuts the server into theServerLifecycleState.RUNNINGstate- Specified by:
serverRunningin interfaceServerLifecycleManager
-
secondaryRunning
public void secondaryRunning()
Deprecated.Description copied from interface:ServerLifecycleManagerPuts the server into theServerLifecycleState.RUNNING_AS_SECONDARYstate- Specified by:
secondaryRunningin interfaceServerLifecycleManager
-
pauseServer
public CompletableFuture<ServerLifecycleState> pauseServer()
Deprecated.Description copied from interface:ServerLifecycleManagerSubmits pause server request.- Specified by:
pauseServerin interfaceServerLifecycleManager- Returns:
- Future for pause server operation
-
prepareForRestart
@NotNull public @NotNull ServerLifecycleState prepareForRestart()
Deprecated.Description copied from interface:ServerLifecycleManagerPuts the server into theServerLifecycleState.PREPARING_FOR_RESTARTstate- Specified by:
prepareForRestartin interfaceServerLifecycleManager- Returns:
- current
ServerLifecycleState
-
resumeServer
@NotNull public @NotNull ServerLifecycleState resumeServer()
Deprecated.Description copied from interface:ServerLifecycleManagerPuts the server into theServerLifecycleState.RUNNINGstate- Specified by:
resumeServerin interfaceServerLifecycleManager- Returns:
- current
ServerLifecycleState
-
getServerLifecycleState
@NotNull public @NotNull ServerLifecycleState getServerLifecycleState()
Deprecated.- Specified by:
getServerLifecycleStatein interfaceServerLifecycleManager- Returns:
- gets the current
ServerLifecycleState
-
-