278279280281282283284285286287288
synchronized (sleepMutex) { sleepMutex.notifyAll(); } reconnectTask.shutdown(); if( transportToStop!=null ) { transportToStop.stop(); } } public long getInitialReconnectDelay() { return initialReconnectDelay;
333334335336337338339340341342343
synchronized (sleepMutex) { sleepMutex.notifyAll(); } reconnectTask.shutdown(); if (transportToStop != null) { transportToStop.stop(); } } public long getInitialReconnectDelay() { return initialReconnectDelay;
644645646647648649650651652653654
if (started) { if (rebalance) { Transport transport = this.connectedTransport.getAndSet(null); if (transport != null) { try { transport.stop(); } catch (Exception e) { LOG.debug("Caught an exception stopping existing transport", e); } }
882883884885886887888889890891892
} catch (Exception e) { failure = e; LOG.debug("Connect fail to: " + uri + ", reason: " + e); if (t != null) { try { t.stop(); } catch (Exception ee) { LOG.debug("Stop of failed transport: " + t + " failed with reason: " + ee); } } } finally {
264265266267268269270271272273274
364365366367368369370371372373374
338339340341342343344345346347348
897898899900901902903904905906907
335336337338339340341342343344345
646647648649650651652653654655656