public void shutdownServer() { if (started.get()) { // Primarily to avoid multiple shutdowns. started.set(false); server.stop(); } }
@Override protected void serviceStop() throws Exception { if (server != null) { server.stop(); } if (webApp != null) { webApp.stop(); } super.serviceStop(); }
protected void stopRpcServer() { if (server != null) { server.stop(); } }
protected void stopRpcServer() { if (server != null) { server.stop(); server = null; } }
@Override protected void serviceStop() throws Exception { if (this.server != null) { this.server.stop(); } super.serviceStop(); }
@Override protected void serviceStop() throws Exception { if (this.server != null) { this.server.stop(); } super.serviceStop(); }
/** Stop RPC server */ void stop() { if(rpcServer != null) rpcServer.stop(); rpcServer = null; }
@Override protected void serviceStop() throws Exception { if (this.server != null) { this.server.stop(); } super.serviceStop(); }
@Override public void serviceStop() throws Exception { if (server != null) { server.stop(); } cacheCleanup.shutdown(); super.serviceStop(); }
@Override protected void serviceStop() throws Exception { if (server != null) { server.stop(); } super.serviceStop(); }
@Override public void serviceStop() throws Exception { if (server != null) { server.stop(); } // TODO may cleanup app collectors running on this NM in future. super.serviceStop(); }
@Override protected void serviceStop() throws Exception { if (this.server != null) { this.server.stop(); } super.serviceStop(); }
@Override protected void serviceStop() throws Exception { if (this.server != null) { this.server.stop(); } super.serviceStop(); }
@Override protected void serviceStop() throws Exception { if (this.server != null) { this.server.stop(); } super.serviceStop(); }
@Override protected void serviceStop() throws Exception { if (server != null) { server.stop(); } super.serviceStop(); }
@Override protected void serviceStop() throws Exception { if (server != null) { server.stop(); } if (webApp != null) { webApp.stop(); } super.serviceStop(); }
@Override protected void serviceStop() throws Exception { if (server != null) { server.stop(); } if (webApp != null) { webApp.stop(); } super.serviceStop(); }
@Override protected void serviceStop() throws Exception { if (server != null) { server.stop(); } if (webApp != null) { webApp.stop(); } super.serviceStop(); }
@Override public void serviceStop() throws Exception { dirsHandler.deregisterLocalDirsChangeListener(localDirsChangeListener); dirsHandler.deregisterLogDirsChangeListener(logDirsChangeListener); if (server != null) { server.stop(); } cacheCleanup.shutdown(); super.serviceStop(); }
/** * Shuts down the HighTideNode */ void shutdown() throws IOException, InterruptedException { configMgr.stopReload(); // stop config reloads fileFixer.shutdown(); // stop block fixer fileFixerThread.interrupt(); server.stop(); // stop http server }