code: @Override
  	public void stop() {
  		if (server != null && server.isServing()) {
  			beforeStop(getServerConfiguration().getServerAspect());
  			log.info("stopping server ... (name: {})", getServerName());
  			server.stop();
  			shutdownExecutor(executorService);
  			server = null;
  			serverSocket = null;
  			afterStop(getServerConfiguration().getServerAspect());
  		} else
  			log.debug("Server not run . (name: {})", getServerName());
  	}
docs: 停止Thrift服务