@Internal
public interface ServerLifecycleManager
ServerLifecycleProvider
to get current server life cycleModifier and Type | Method and Description |
---|---|
ServerLifecycleState |
getServerLifecycleState() |
CompletableFuture<ServerLifecycleState> |
pauseServer()
Submits pause server request.
|
ServerLifecycleState |
prepareForRestart()
Puts the server into the
ServerLifecycleState.PREPARING_FOR_RESTART state |
ServerLifecycleState |
resumeServer()
Puts the server into the
ServerLifecycleState.RUNNING state |
void |
serverRunning()
Puts the server into the
ServerLifecycleState.RUNNING state |
void |
serverStarting()
Puts the server into the
ServerLifecycleState.STARTING state |
void serverStarting()
ServerLifecycleState.STARTING
statevoid serverRunning()
ServerLifecycleState.RUNNING
stateCompletableFuture<ServerLifecycleState> pauseServer()
@NotNull ServerLifecycleState prepareForRestart()
ServerLifecycleState.PREPARING_FOR_RESTART
stateServerLifecycleState
@NotNull ServerLifecycleState resumeServer()
ServerLifecycleState.RUNNING
stateServerLifecycleState
@NotNull ServerLifecycleState getServerLifecycleState()
ServerLifecycleState
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.