Interface IServerAdmin


  • public interface IServerAdmin
    • Method Detail

      • 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