Package | Description |
---|---|
org.apache.bookkeeper.client | |
org.apache.bookkeeper.conf |
Modifier and Type | Method and Description |
---|---|
protected ClientConfiguration |
BookKeeper.getConf() |
Constructor and Description |
---|
BookKeeper(ClientConfiguration conf)
Create a bookkeeper client using a configuration object.
|
BookKeeper(ClientConfiguration conf,
org.apache.zookeeper.ZooKeeper zk)
Create a bookkeeper client but use the passed in zookeeper client instead
of instantiating one.
|
BookKeeper(ClientConfiguration conf,
org.apache.zookeeper.ZooKeeper zk,
org.jboss.netty.channel.socket.ClientSocketChannelFactory channelFactory)
Create a bookkeeper client but use the passed in zookeeper client and
client socket channel factory instead of instantiating those.
|
BookKeeperAdmin(ClientConfiguration conf)
Constructor that takes in a configuration object so we know
how to connect to ZooKeeper to retrieve information about the BookKeeper
cluster.
|
Modifier and Type | Method and Description |
---|---|
ClientConfiguration |
ClientConfiguration.setBookieRecoveryDigestType(BookKeeper.DigestType digestType)
Set digest type used in bookkeeper admin.
|
ClientConfiguration |
ClientConfiguration.setBookieRecoveryPasswd(byte[] passwd)
Set passwd used in bookkeeper admin.
|
ClientConfiguration |
ClientConfiguration.setClientTcpNoDelay(boolean noDelay)
Set socket nodelay setting.
|
ClientConfiguration |
ClientConfiguration.setThrottleValue(int throttle)
Set throttle value.
|
ClientConfiguration |
ClientConfiguration.setZkServers(String zkServers)
Set zookeeper servers to connect
|
ClientConfiguration |
ClientConfiguration.setZkTimeout(int zkTimeout)
Set zookeeper timeout
|
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.