Package com.atlassian.bamboo
Interface ServerLifecycleManager
-
- All Known Implementing Classes:
ServerLifecycleManagerImpl
@Deprecated @Internal public interface ServerLifecycleManager
Deprecated.since 9.5, useClusterAwareLifecycleManagerinsteadManages the server life cycle UseServerLifecycleProviderto get current server life cycle- Since:
- 3.3
-
-
Method Summary
All Methods Instance Methods Abstract 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
-
-
-
Method Detail
-
serverStarting
void serverStarting()
Deprecated.Puts the server into theServerLifecycleState.STARTINGstate
-
serverRunning
void serverRunning()
Deprecated.Puts the server into theServerLifecycleState.RUNNINGstate
-
secondaryRunning
void secondaryRunning()
Deprecated.Puts the server into theServerLifecycleState.RUNNING_AS_SECONDARYstate
-
pauseServer
CompletableFuture<ServerLifecycleState> pauseServer()
Deprecated.Submits pause server request.- Returns:
- Future for pause server operation
-
prepareForRestart
@NotNull @NotNull ServerLifecycleState prepareForRestart()
Deprecated.Puts the server into theServerLifecycleState.PREPARING_FOR_RESTARTstate- Returns:
- current
ServerLifecycleState
-
resumeServer
@NotNull @NotNull ServerLifecycleState resumeServer()
Deprecated.Puts the server into theServerLifecycleState.RUNNINGstate- Returns:
- current
ServerLifecycleState
-
getServerLifecycleState
@NotNull @NotNull ServerLifecycleState getServerLifecycleState()
Deprecated.- Returns:
- gets the current
ServerLifecycleState
-
-