|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.synapse.ServerManagerView
public class ServerManagerView
ServerManagerViewMBean| Constructor Summary | |
|---|---|
ServerManagerView(ServerManager serverManager)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServerManagerView(ServerManager serverManager)
| Method Detail |
|---|
public String getServerState()
getServerState in interface ServerManagerViewMBean
public void start()
throws Exception
start in interface ServerManagerViewMBeanException - if an error occurs
public void stop()
throws Exception
stop in interface ServerManagerViewMBeanException - if an error occurs
public void restart()
throws Exception
restart in interface ServerManagerViewMBeanException - if an error occurs
public void shutdown()
throws Exception
shutdown in interface ServerManagerViewMBeanException - if an error occurs
public void stopGracefully(long waitSeconds)
throws Exception
stopGracefully in interface ServerManagerViewMBeanwaitSeconds - number of seconds to wait for a graceful stop before initiating
a hard stop
Exception - if an error occurs
public void startMaintenance()
throws Exception
startMaintenance in interface ServerManagerViewMBeanException - if an error occurs
public void endMaintenance()
throws Exception
endMaintenance in interface ServerManagerViewMBeanException - if an error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||