Interface IServerAdmin


public interface IServerAdmin
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
    Forcefully restart this WSAS instance
    boolean
    Gracefully restart this WSAS instance.
    boolean
    Forcefully shutdown this WSAS instance
    boolean
    Gracefully shutdown this WSAS instance All client connections will be served before shutting down the server
  • Method Details

    • restart

      boolean restart() throws Exception
      Forcefully restart this WSAS instance
      Returns:
      true - If successful, false otherwise
      Throws:
      Exception - If an error occurs while restarting
    • shutdown

      boolean shutdown() throws Exception
      Forcefully shutdown this WSAS instance
      Returns:
      true - If successful, false otherwise
      Throws:
      Exception - If an error occurs while shutting down
    • restartGracefully

      boolean restartGracefully() throws Exception
      Gracefully restart this WSAS instance. All client connections will be served before restarting the server
      Returns:
      true - If successful, false otherwise
      Throws:
      Exception - If an error occurs while restarting
    • shutdownGracefully

      boolean shutdownGracefully() throws Exception
      Gracefully shutdown this WSAS instance All client connections will be served before shutting down the server
      Returns:
      true - If successful, false otherwise
      Throws:
      Exception - If an error occurs while shutting down
    • getServerData

      ServerData getServerData() throws Exception
      Throws:
      Exception