Package com.atlassian.bamboo
Interface ServerLifecycleManager
- All Known Implementing Classes:
ServerLifecycleManagerImpl
Deprecated.
Manages the server life cycle
Use
ServerLifecycleProvider
to get current server life cycle- Since:
- 3.3
-
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
-
Method Details
-
serverStarting
void serverStarting()Deprecated.Puts the server into theServerLifecycleState.STARTING
state -
serverRunning
void serverRunning()Deprecated.Puts the server into theServerLifecycleState.RUNNING
state -
secondaryRunning
void secondaryRunning()Deprecated.Puts the server into theServerLifecycleState.RUNNING_AS_SECONDARY
state -
pauseServer
CompletableFuture<ServerLifecycleState> pauseServer()Deprecated.Submits pause server request.- Returns:
- Future for pause server operation
-
prepareForRestart
Deprecated.Puts the server into theServerLifecycleState.PREPARING_FOR_RESTART
state- Returns:
- current
ServerLifecycleState
-
resumeServer
Deprecated.Puts the server into theServerLifecycleState.RUNNING
state- Returns:
- current
ServerLifecycleState
-
getServerLifecycleState
Deprecated.- Returns:
- gets the current
ServerLifecycleState
-
ClusterAwareLifecycleManager
instead