public void waitForChannelToConnect() { if (channel == null) return; log.debug("Waiting on view being accepted"); try { channelConnectedLatch.await(); } catch (InterruptedException e) { log.interruptedWaitingForCoordinator(e); } }