@Internal
public interface ServerLifecycleManager
ServerLifecycleProvider
to get current server life cycleModifier and Type | Method and Description |
---|---|
@NotNull ServerLifecycleState |
getServerLifecycleState() |
CompletableFuture<ServerLifecycleState> |
pauseServer()
Submits pause server request.
|
@NotNull ServerLifecycleState |
prepareForRestart()
Puts the server into the
ServerLifecycleState.PREPARING_FOR_RESTART state |
@NotNull 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 @NotNull ServerLifecycleState prepareForRestart()
ServerLifecycleState.PREPARING_FOR_RESTART
stateServerLifecycleState
@NotNull @NotNull ServerLifecycleState resumeServer()
ServerLifecycleState.RUNNING
stateServerLifecycleState
@NotNull @NotNull ServerLifecycleState getServerLifecycleState()
ServerLifecycleState
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences