Interface Controllable


  • public interface Controllable
    Any Server implementaion which should support restarting or shutting down should implement this interface
    • Method Detail

      • shutdownGracefully

        void shutdownGracefully()
                         throws ServerException
        Gracefully shutdown the server after serving all requests currently being processed
        Throws:
        ServerException - If an error occurs during shutting down
      • restartGracefully

        void restartGracefully()
                        throws ServerException
        Gracefully restart the server after serving all requests currently being processed
        Throws:
        ServerException - If an error occurs during restarting