public void serviceRemoved(ServiceEvent event) {
String svcName = event.getName();
// logger.debug("NAMEDREMOVED " + event.getType() + " : " +
// svcName);
ServiceInfo svcInfo = event.getInfo();
if (svcInfo != null) {
String svcHost = svcInfo.getHostAddress();
if (poolSet.contains(svcHost)) {
logger.debug("Removed" + svcName);
foundDead(new InetSocketAddress(svcHost, svcInfo.getPort()));
}
if (pendingResolution.contains(svcName)) {
pendingResolution.remove(svcName);
}
}