@Override public void close() { LOG.info("Stopping InMemoryLevelDBAliasMapServer"); try { if (aliasMap != null) { aliasMap.close(); } } catch (IOException e) { LOG.error(e.getMessage()); } if (aliasMapServer != null) { aliasMapServer.stop(); } }
ipcServer.stop();
protected void stopServer() throws Exception { if (this.server != null) { this.server.stop(); } }
@Override protected void serviceStop() throws Exception { if (clientRpcServer != null) { clientRpcServer.stop(); } }
@Override protected void serviceStop() throws Exception { if (clientRpcServer != null) { clientRpcServer.stop(); } }
@After public void tearDown() { if (proxy != null) { RPC.stopProxy(proxy.getProxy()); proxy = null; } if (server != null) { server.stop(); server = null; } }
@Override public void serviceStop() { if (server != null) { server.stop(); } }
protected void stopServer() throws Exception { if (this.server != null) { this.server.stop(); } }
@Override protected void serviceStop() throws Exception { if (clientRpcServer != null) { clientRpcServer.stop(); } }
protected void stopServer() throws Exception { if (this.server != null) { this.server.stop(); } }
@After public void tearDown() { if (proxy != null) { RPC.stopProxy(proxy.getProxy()); proxy = null; } if (server != null) { server.stop(); server = null; } }
@Override public void serviceStop() { if(server != null) { server.stop(); } }
void stop() { this.server.stop(); }
void stopAndJoin() throws InterruptedException { this.server.stop(); this.server.join(); }
@Override public void serviceStop() { if (server != null) { server.stop(); } }