|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerLifecycleManager
Manages the server life cycle
Use ServerLifecycleProvider
to get current server life cycle
Method Summary | |
---|---|
ServerLifecycleState |
getServerLifecycleState()
|
ServerLifecycleState |
pauseServer()
Puts the server into the ServerLifecycleState.PAUSING 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 |
Method Detail |
---|
void serverStarting()
ServerLifecycleState.STARTING
state
void serverRunning()
ServerLifecycleState.RUNNING
state
@NotNull ServerLifecycleState pauseServer()
ServerLifecycleState.PAUSING
state
ServerLifecycleState
@NotNull ServerLifecycleState resumeServer()
ServerLifecycleState.RUNNING
state
ServerLifecycleState
@NotNull ServerLifecycleState getServerLifecycleState()
ServerLifecycleState
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |