@Override public void shutdown() { try { this.timer.cancel(); for (ChannelWrapper cw : this.channelTables.values()) { this.closeChannel(null, cw.getChannel()); } this.channelTables.clear(); if (this.remotingEventExecutor != null) { this.remotingEventExecutor.shutdown(); } clientShutdown(); } catch (Exception e) { LOGGER.error("NettyRemotingClient shutdown exception, ", e); } if (this.publicExecutor != null) { try { this.publicExecutor.shutdown(); } catch (Exception e) { LOGGER.error("NettyRemotingServer shutdown exception, ", e); } } }
@Override public void shutdown() { try { this.timer.cancel(); for (ChannelWrapper cw : this.channelTables.values()) { this.closeChannel(null, cw.getChannel()); } this.channelTables.clear(); if (this.remotingEventExecutor != null) { this.remotingEventExecutor.shutdown(); } clientShutdown(); } catch (Exception e) { LOGGER.error("NettyRemotingClient shutdown exception, ", e); } if (this.publicExecutor != null) { try { this.publicExecutor.shutdown(); } catch (Exception e) { LOGGER.error("NettyRemotingServer shutdown exception, ", e); } } }
@Override public void shutdown() { try { if (this.timer != null) { this.timer.cancel(); } if (this.remotingEventExecutor != null) { this.remotingEventExecutor.shutdown(); } serverShutdown(); } catch (Exception e) { LOGGER.error("RemotingServer shutdown exception, ", e); } if (this.publicExecutor != null) { try { this.publicExecutor.shutdown(); } catch (Exception e) { LOGGER.error("RemotingServer shutdown exception, ", e); } } }
@Override public void shutdown() { try { this.timer.cancel(); for (ChannelWrapper cw : this.channelTables.values()) { this.closeChannel(null, cw.getChannel()); } this.channelTables.clear(); if (this.remotingEventExecutor != null) { this.remotingEventExecutor.shutdown(); } clientShutdown(); } catch (Exception e) { LOGGER.error("NettyRemotingClient shutdown exception, ", e); } if (this.publicExecutor != null) { try { this.publicExecutor.shutdown(); } catch (Exception e) { LOGGER.error("NettyRemotingServer shutdown exception, ", e); } } }
@Override public void shutdown() { try { if (this.timer != null) { this.timer.cancel(); } if (this.remotingEventExecutor != null) { this.remotingEventExecutor.shutdown(); } serverShutdown(); } catch (Exception e) { LOGGER.error("RemotingServer shutdown exception, ", e); } if (this.publicExecutor != null) { try { this.publicExecutor.shutdown(); } catch (Exception e) { LOGGER.error("RemotingServer shutdown exception, ", e); } } }
@Override public void shutdown() { try { if (this.timer != null) { this.timer.cancel(); } if (this.remotingEventExecutor != null) { this.remotingEventExecutor.shutdown(); } serverShutdown(); } catch (Exception e) { LOGGER.error("RemotingServer shutdown exception, ", e); } if (this.publicExecutor != null) { try { this.publicExecutor.shutdown(); } catch (Exception e) { LOGGER.error("RemotingServer shutdown exception, ", e); } } }