@Override public void stop() { timer.stop(); } }
@Override public void stopService() { this.hashedWheelTimer.stop(); super.stopService(); }
public void close() { closeLock.writeLock().lock(); try { if (closed) { return; } closed = true; } finally { closeLock.writeLock().unlock(); } clientManager.close(); routingService.unregisterListener(this); routingService.stopService(); dlTimer.stop(); }
requestTimer.stop(); LOG.info("Stopped request timer"); SchedulerUtils.shutdownScheduler(lockStateExecutor, 5000, TimeUnit.MILLISECONDS);
public void shutdown() { if (channelFactory != null) { channelFactory.releaseExternalResources(); } if (datagramChannelFactory != null) { channelFactory.releaseExternalResources(); } if (timer != null) timer.stop(); }
@Override public void stop() { timer.stop(); } }
@Override public void stop() { timer.stop(); } }
@Override public void stop() { timer.stop(); } }
@Override public void stopService() { this.hashedWheelTimer.stop(); super.stopService(); }
public StateMachine.State handleEvent(ErrorEvent e) { LOG.debug("CONNECTED STATE: ErrorEvent"); timeoutExecutor.stop(); handleError(fsm); return new ClosingState(fsm); }
private void cleanupState() { timeoutExecutor.stop(); channel.close(); if (timeout != null) { timeout.cancel(); } }
private void cleanupState() { timeoutExecutor.stop(); channel.close(); if (timeout != null) { timeout.cancel(); } }
public StateMachine.State handleEvent(CloseEvent e) { LOG.debug("CONNECTED STATE: CloseEvent"); timeoutExecutor.stop(); closeChannelAndErrorRequests(); fsm.deferEvent(e); return new ClosingState(fsm); }
@After public void teardown() { hashedWheelTimer.stop(); }
@After public void teardown() { hashedWheelTimer.stop(); }
@After public void teardown() { hashedWheelTimer.stop(); }
public State handleEvent(CloseEvent e) { timeoutExecutor.stop(); closeChannelAndErrorRequests(); fsm.deferEvent(e); return new ClosingState(fsm); }
@After public void tearDown() throws Exception { smtpServer.destroy(); hashedWheelTimer.stop(); }
@After public void tearDown() throws Exception { if (smtpsClient != null) { smtpsClient.disconnect(); } if (server != null) { server.unbind(); } hashedWheelTimer.stop(); }
@After public void tearDown() throws Exception { if (smtpsClient != null) { smtpsClient.disconnect(); } if (server != null) { server.unbind(); } hashedWheelTimer.stop(); }