public class ServerManagementService extends Object
Constructor and Description |
---|
ServerManagementService() |
Modifier and Type | Method and Description |
---|---|
ServerResource |
getServerInfo()
Retrieves configuration information of this UltraESB-X server instance
|
Status |
getServerStatus()
Retrieves the current status of the server instance
|
void |
gracefulShutdown(long waitTimeMillis)
Shutdown the XServer gracefully within the specified grace period.
|
void |
shutdownServer()
Shutdowns this UltraESB-X server instance
|
void |
startMaintenance()
Starts the maintenance mode of XServer
|
void |
startServer()
Starts this UltraESB-X server instance
|
void |
stopMaintenance()
Resume normal operations from maintenance mode
|
void |
stopServer()
Stops this UltraESB-X server instance
|
public void startServer() throws ManagementServiceException
ManagementServiceException
- on failurepublic void stopServer() throws ManagementServiceException
ManagementServiceException
- on failurepublic void shutdownServer() throws ManagementServiceException
ManagementServiceException
- on failurepublic void startMaintenance() throws ManagementServiceException
ManagementServiceException
- on failurepublic void stopMaintenance() throws ManagementServiceException
ManagementServiceException
- on failurepublic void gracefulShutdown(long waitTimeMillis) throws ManagementServiceException
waitTimeMillis
- the maximum time period (in milliseconds ) that the shutdown action will wait for the
server to become idle after entering the maintenance modeManagementServiceException
- on failurepublic Status getServerStatus() throws ManagementServiceException
Status
enum representing the current statusManagementServiceException
- on failurepublic ServerResource getServerInfo() throws ManagementServiceException
ManagementServiceException
- on failureCopyright © 2016–2019 AdroitLogic. All rights reserved.