synchronized BookieHandle getBookieHandle(LedgerHandle lh, InetSocketAddress a)
throws ConnectException, IOException {
if(!bhMap.containsKey(a)){
BookieHandle bh = new BookieHandle(a, true);
bhMap.put(a, bh);
bh.start();
}
bhMap.get(a).incRefCount(lh);
return bhMap.get(a);
}