public class BookKeeperTestClient
extends org.apache.bookkeeper.client.BookKeeper
| Constructor and Description |
|---|
BookKeeperTestClient(org.apache.bookkeeper.conf.ClientConfiguration conf) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.bookkeeper.conf.ClientConfiguration |
getConf() |
org.apache.zookeeper.ZooKeeper |
getZkHandle() |
void |
readBookiesBlocking()
Force a read to zookeeper to get list of bookies.
|
asyncCreateLedger, asyncCreateLedger, asyncCreateLedgerAdv, asyncCreateLedgerAdv, asyncDeleteLedger, asyncIsClosed, asyncOpenLedger, asyncOpenLedgerNoRecovery, close, createLedger, createLedger, createLedger, createLedger, createLedgerAdv, createLedgerAdv, createLedgerAdv, deleteLedger, forConfig, getBookieAddressResolver, getBookieInfo, getLedgerManager, getLedgerManagerFactory, getLedgerMetadata, getMainWorkerPool, getMetadataClientDriver, isClosed, newCreateLedgerOp, newDeleteLedgerOp, newListLedgersOp, newOpenLedgerOp, openLedger, openLedgerNoRecoverypublic BookKeeperTestClient(org.apache.bookkeeper.conf.ClientConfiguration conf)
throws IOException,
InterruptedException,
org.apache.bookkeeper.client.BKException
IOExceptionInterruptedExceptionorg.apache.bookkeeper.client.BKExceptionpublic org.apache.zookeeper.ZooKeeper getZkHandle()
public org.apache.bookkeeper.conf.ClientConfiguration getConf()
getConf in class org.apache.bookkeeper.client.BookKeeperpublic void readBookiesBlocking()
throws InterruptedException,
org.apache.bookkeeper.client.BKException
InterruptedExceptionorg.apache.zookeeper.KeeperExceptionorg.apache.bookkeeper.client.BKExceptionCopyright © 2017–2021 Apache Software Foundation. All rights reserved.