public class ServerManagement extends Object
Constructor and Description |
---|
ServerManagement(Map<String,org.apache.axis2.description.TransportInDescription> inTransports,
org.apache.axis2.context.ConfigurationContext serverConfigContext) |
Modifier and Type | Method and Description |
---|---|
void |
endMaintenance()
Method to change the state of a node from "maintenance" to "normal"
|
void |
startMaintenance()
Method to switch a node to maintenance mode.
|
void |
startMaintenanceForShutDown()
Method the switch to Maintenance mode when the server is shutting down.
|
void |
waitForRequestCompletion()
Wait till all service requests have been serviced.
|
public void startMaintenance() throws Exception
Exception
- - on errors while starting maintenancepublic void startMaintenanceForShutDown() throws Exception
Exception
- - on errors while starting maintenancepublic void waitForRequestCompletion() throws Exception
TIMEOUT
Exception
- If an error occurs while trying to connect to the Tomcat MBeanCopyright © 2016 WSO2 Inc. All rights reserved.