|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerManagerViewMBean
A simple MBean for managing the Synapse Server.
Method Summary | |
---|---|
void |
endMaintenance()
Finishes the maintenance and put the server online. |
String |
getServerState()
Shows the current state of the server. |
void |
restart()
Restart the Server. |
void |
shutdown()
Shutdown the Server. |
void |
start()
Starts the Server. |
void |
startMaintenance()
Puts the server into the maintenance mode. |
void |
stop()
Stops the Server without shutting it down. |
void |
stopGracefully(long waitSeconds)
Stops the Server gracefully. |
Method Detail |
---|
String getServerState()
void start() throws Exception
Exception
- if an error occursvoid stop() throws Exception
Exception
- if an error occursvoid restart() throws Exception
Exception
- if an error occursvoid shutdown() throws Exception
Exception
- if an error occursvoid stopGracefully(long waitSeconds) throws Exception
waitSeconds
- number of seconds to wait for a graceful stop before initiating
a hard stop
Exception
- if an error occursvoid startMaintenance() throws Exception
Exception
- if an error occursvoid endMaintenance() throws Exception
Exception
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |