}
unlockGraph();
} catch (final RuntimeException e) {
/* ignore */
}
final HbConnectionInfo hbci;
if (edge == null) {
hbci = getClusterBrowser().getNewHbConnectionInfo();
edge = new Edge(vWithRsc0, vRsc0);
lockGraph();
getGraph().addEdge(edge, vWithRsc0, vRsc0);
unlockGraph();
edgeToHbconnectionMap.put(edge, hbci);
hbconnectionToEdgeMap.put(hbci, edge);
} else {
hbci = edgeToHbconnectionMap.get(edge);
}
mHbConnectionWriteLock.unlock();
if (hbci != null) {
hbci.addColocation(colId, rsc, withRsc);
edgeIsColocationList.add(edge);
keepEdgeIsColocationList.add(edge);
}
}
});