final LedgerFragment ledgerFragment,
final InetSocketAddress targetBookieAddress)
throws InterruptedException, BKException {
SyncCounter syncCounter = new SyncCounter();
ResultCallBack resultCallBack = new ResultCallBack(syncCounter);
SingleFragmentCallback cb = new SingleFragmentCallback(resultCallBack,
lh, ledgerFragment.getFirstEntryId(), ledgerFragment
.getAddress(), targetBookieAddress);
syncCounter.inc();
asyncRecoverLedgerFragment(lh, ledgerFragment, cb, targetBookieAddress);
syncCounter.block(0);