@Override protected void doStop() throws Exception { scheduler.shutdownNow(); super.doStop(); scheduler = null; }
@Override protected void doStop() throws Exception { super.doStop(); thread.interrupt(); }
@Override protected void doStop() throws Exception { _timer.cancel(); super.doStop(); _timer = null; }
@Override protected void doStop() throws Exception { deactivate(); items.set(null); super.doStop(); }
@Override protected void doStop() throws Exception { synchronized (this) { unload(); } super.doStop(); }
/** * @see org.eclipse.jetty.util.component.AbstractLifeCycle#doStop() */ @Override protected void doStop() throws Exception { if (watchService != null) watchService.close(); //will invalidate registered watch keys, interrupt thread in take or poll watchService = null; thread = null; keys.clear(); pending.clear(); events.clear(); super.doStop(); }
@Override public void doStop() throws Exception { if (_lease!=null) _lease.close(); while(true) { ReservedThread thread = _stack.pollFirst(); if (thread == null) break; _size.decrementAndGet(); thread.stop(); } super.doStop(); }
protected void doStop() throws Exception { super.doStop(); try {if (_writer != null) _writer.flush();} catch (IOException e) {Log.getLogger((String)null).ignore(e);} if (_out != null && _closeOut) try {_out.close();} catch (IOException e) {Log.getLogger((String)null).ignore(e);} _out = null; _fileOut = null; _closeOut = false; _logDateCache = null; _writer = null; _buffers = null; _copy = null; }
/** * Stops the managed lifecycle beans in the reverse order they were added. */ @Override protected void doStop() throws Exception { _doStarted = false; super.doStop(); List<Bean> reverse = new ArrayList<>(_beans); Collections.reverse(reverse); MultiException mex = new MultiException(); for (Bean b : reverse) { if (b._managed==Managed.MANAGED && b._bean instanceof LifeCycle) { LifeCycle l = (LifeCycle)b._bean; try { stop(l); } catch (Throwable th) { mex.add(th); } } } mex.ifExceptionThrow(); }
@Override public final void stop() throws Exception { synchronized (_lock) { try { if (_state == __STOPPING || _state == __STOPPED) return; setStopping(); doStop(); setStopped(); } catch (Throwable e) { setFailed(e); throw e; } } }
@Override protected void doStop() throws Exception { super.doStop(); }
@Override protected void doStop() throws Exception { super.doStop(); }
@Override protected void doStop() throws Exception { super.doStop(); _executor.shutdownNow(); } }
@Override protected void doStop() throws Exception { super.doStop(); _executor.shutdownNow(); } }
@Override protected void doStop() throws Exception { scheduler.shutdownNow(); super.doStop(); scheduler = null; }
@Override protected void doStop() throws Exception { super.doStop(); _executor.shutdownNow(); } }
/** * @see org.eclipse.jetty.util.component.AbstractLifeCycle#doStop() */ protected void doStop() throws Exception { super.doStop(); if (_scanner != null) _scanner.stop(); _scanner = null; }
/** * @see org.eclipse.jetty.util.component.AbstractLifeCycle#doStop() */ protected void doStop() throws Exception { super.doStop(); if (_scanner != null) _scanner.stop(); _scanner = null; }
@Override public void doStop() throws Exception { super.doStop(); invalidateSessions(); _loader=null; }
@Override protected void doStop() throws Exception { if (_scheduler instanceof LRMScheduler) _scheduler.stop(); super.doStop(); }