@Override public void onException(IOException error) { if (!futureRemoteBrokerInfo.isDone()) { LOG.info("error with pending remote brokerInfo on: " + remoteBroker, error); futureRemoteBrokerInfo.cancel(true); return; } serviceRemoteException(error); } });
@Override public void onException(IOException error) { if (!futureLocalBrokerInfo.isDone()) { LOG.info("error with pending local brokerInfo on: " + localBroker, error); futureLocalBrokerInfo.cancel(true); return; } serviceLocalException(error); } });
@Override public void onException(IOException error) { if (!futureRemoteBrokerInfo.isDone()) { LOG.info("error with pending remote brokerInfo on: " + remoteBroker, error); futureRemoteBrokerInfo.cancel(true); return; } serviceRemoteException(error); } });
@Override public void onException(IOException error) { if (!futureLocalBrokerInfo.isDone()) { LOG.info("error with pending local brokerInfo on: " + localBroker, error); futureLocalBrokerInfo.cancel(true); return; } serviceLocalException(error); } });
@Override public void onException(IOException error) { if (!futureLocalBrokerInfo.isDone()) { LOG.info("error with pending local brokerInfo on: " + localBroker, error); futureLocalBrokerInfo.cancel(true); return; } serviceLocalException(error); } });
@Override public void onException(IOException error) { if (!futureRemoteBrokerInfo.isDone()) { LOG.info("error with pending remote brokerInfo on: " + remoteBroker, error); futureRemoteBrokerInfo.cancel(true); return; } serviceRemoteException(error); } });
@Override public void onException(IOException error) { if (!futureLocalBrokerInfo.isDone()) { LOG.info("error with pending local brokerInfo on: " + localBroker, error); futureLocalBrokerInfo.cancel(true); return; } serviceLocalException(error); } });
@Override public void onException(IOException error) { if (!futureRemoteBrokerInfo.isDone()) { LOG.info("error with pending remote brokerInfo on: " + remoteBroker, error); futureRemoteBrokerInfo.cancel(true); return; } serviceRemoteException(error); } });