scheduler.cancel();
@Override public void cancel() { cancellable.cancel(); } }
@Override public void cancel() { for (Cancellable c : cancellables) { c.cancel(); } } };
@Override protected void shutDown() throws Exception { if (cancellable != null) { cancellable.cancel(); } }
@Override public void cancel() { cancellable.cancel(); } }
@Override protected void shutDown() throws Exception { if (cancellable != null) { cancellable.cancel(); } }
protected void undoRegister() { if (cancelDiscovery != null) { cancelDiscovery.cancel(); } }
@Override public void cancel() { cancellable.cancel(); } };
@Override public void run() { watcherCancellable.cancel(); } }, Threads.SAME_THREAD_EXECUTOR);
protected void undoRegister() { if (cancelDiscovery != null) { cancelDiscovery.cancel(); } }
protected void undoRegister() { if (cancelDiscovery != null) { cancelDiscovery.cancel(); } }
@Override public void cancel() { for (Cancellable c : cancellables) { c.cancel(); } } };
@Override protected void shutDown() throws Exception { LOG.debug("Shutting down Metadata Service"); cancelDiscovery.cancel(); httpService.stop(); LOG.info("Metadata HTTP service stopped"); } }
@Override protected void shutDown() { boundAddress = null; LOG.info("Stopping Netty Router..."); serverCancellable.cancel(); tokenValidator.stopAndWait(); LOG.info("Stopped Netty Router."); }
@Override protected void shutDown() throws Exception { try { if (cancellable != null) { cancellable.cancel(); } } finally { httpServer.stop(); } } }
@Override protected void shutDown() { try { serviceCancellable.cancel(); server.stop(); grantAccessToken.destroy(); } catch (Exception e) { LOG.error("Error stopping Authentication Server.", e); } } }
@Override protected void shutDown() throws Exception { LOG.info("Stopping DatasetOpExecutorService..."); try { if (cancellable != null) { cancellable.cancel(); } } finally { httpService.stop(); } }
@Override protected void shutDown() throws Exception { try { if (cancellable != null) { cancellable.cancel(); } } finally { httpService.stop(); } }