324325326327328329330331332333334
asyncOpenLedger(lId, digestType, passwd, this, counter); /* * Wait */ counter.block(0); if (counter.getrc() != BKException.Code.OK) throw BKException.create(counter.getrc()); return counter.getLh(); }
249250251252253254255256257258259
asyncCreateLedger(ensSize, qSize, digestType, passwd, this, counter); /* * Wait */ counter.block(0); if (counter.getLh() == null) { LOG.error("ZooKeeper error: " + counter.getrc()); throw BKException.create(Code.ZKException); }
258259260261262263264265266267268
333334335336337338339340341342343