public interface ServerAdminMBean
| Modifier and Type | Method and Description |
|---|---|
void |
endMaintenance()
Method to change the state of a node from "maintenance" to "normal"
|
String |
getServerDataAsString()
Get information about this WSAS instance
|
String |
getServerStatus()
Get the current status of this WSAS instance
|
String |
getServerVersion()
Get the version of this WSAS instance
|
boolean |
isAlive()
Method to check whether this WSAS instance is alive
|
boolean |
restart()
Forcefully restart this WSAS instance
|
boolean |
restartGracefully()
Gracefully restart this WSAS instance.
|
boolean |
shutdown()
Forcefully shutdown this WSAS instance
|
boolean |
shutdownGracefully()
Gracefully shutdown this WSAS instance
All client connections will be served before shutting down the server
|
void |
startMaintenance()
Method to switch a node to maintenance mode.
|
boolean restart()
throws Exception
Exception - If an error occurs while restartingboolean shutdown()
throws Exception
Exception - If an error occurs while shutting downboolean restartGracefully()
throws Exception
Exception - If an error occurs while restartingboolean shutdownGracefully()
throws Exception
Exception - If an error occurs while shutting downvoid startMaintenance()
throws Exception
Exception - If an error occurred while switching to maintenace modevoid endMaintenance()
throws Exception
Exception - If an error occurred while switching to normal modeString getServerDataAsString() throws Exception
Exception - If an error occurred while retrieving server informationString getServerVersion()
boolean isAlive()
String getServerStatus() throws Exception
ServerStatus.STATUS_RUNNING, ServerStatus.STATUS_SHUTTING_DOWN,ServerStatus.STATUS_RESTARTING,ServerStatus.STATUS_IN_MAINTENANCE Exception - If an error occurs while retrieving the statusServerStatusCopyright © 2018 WSO2 Inc. All rights reserved.