public interface ServerManagerViewMBean
Modifier and Type | Method and Description |
---|---|
void |
endMaintenance()
Finishes the maintenance and put the server online.
|
java.lang.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.
|
java.lang.String getServerState()
void start() throws java.lang.Exception
java.lang.Exception
- if an error occursvoid stop() throws java.lang.Exception
java.lang.Exception
- if an error occursvoid restart() throws java.lang.Exception
java.lang.Exception
- if an error occursvoid shutdown() throws java.lang.Exception
java.lang.Exception
- if an error occursvoid stopGracefully(long waitSeconds) throws java.lang.Exception
waitSeconds
- number of seconds to wait for a graceful stop before initiating
a hard stopjava.lang.Exception
- if an error occursvoid startMaintenance() throws java.lang.Exception
java.lang.Exception
- if an error occursvoid endMaintenance() throws java.lang.Exception
java.lang.Exception
- if an error occursCopyright © 2005-2022 Apache Software Foundation. All Rights Reserved.