public interface Controllable
Modifier and Type | Method and Description |
---|---|
void |
restart()
Forcefully restart the server
|
void |
restartGracefully()
Gracefully restart the server after serving all requests currently being processed
|
void |
shutdown()
Forcefully shutdown the server
|
void |
shutdownGracefully()
Gracefully shutdown the server after serving all requests currently being processed
|
void shutdown() throws ServerException
ServerException
- If an error occurs during shutting downvoid shutdownGracefully() throws ServerException
ServerException
- If an error occurs during shutting downvoid restart() throws ServerException
ServerException
- If an error occurs during restartingvoid restartGracefully() throws ServerException
ServerException
- If an error occurs during restartingCopyright © 2016 WSO2 Inc. All rights reserved.