|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface ZookeeperClientConfig.Options
Zookeeper client options.
| Field Summary | |
|---|---|
static String |
ACL
The ACL that will be used to create various znodes on the behalf of the federation (the default is ZooDefs.Ids.OPEN_ACL_UNSAFE). |
static int |
DEFAULT_SESSION_TIMEOUT
|
static String |
NAMESPACE
The namespace for these options. |
static String |
SERVERS
A comma delimited list of host:port pairs for the zookeeper servers, where the port is the client port. |
static String |
SESSION_TIMEOUT
The "sessionTimeout" in milliseconds for a ZooKeeper client. |
static String |
ZROOT
The root node in the zookeeper instance for the federation. |
| Field Detail |
|---|
static final String NAMESPACE
static final String ZROOT
static final String SESSION_TIMEOUT
ZooKeeper client.
ZooKeeper.ZooKeeper(String, int, org.apache.zookeeper.Watcher),
Constant Field Valuesstatic final int DEFAULT_SESSION_TIMEOUT
static final String SERVERS
zoo1:2181,zoo2:2181,zoo3:2181
static final String ACL
ZooDefs.Ids.OPEN_ACL_UNSAFE).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||