public class CuratorConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_PREFIX |
| Constructor and Description |
|---|
CuratorConfig() |
| Modifier and Type | Method and Description |
|---|---|
static CuratorConfig |
create(String hosts) |
String |
getAuthScheme() |
boolean |
getEnableAcl() |
boolean |
getEnableCompression() |
int |
getMaxZkRetries() |
int |
getZkConnectionTimeoutMs() |
String |
getZkHosts() |
String |
getZkPwd() |
int |
getZkSessionTimeoutMs() |
String |
getZkUser() |
void |
setEnableAcl(Boolean enableAcl) |
void |
setEnableCompression(Boolean enableCompression) |
void |
setZkConnectionTimeoutMs(Integer zkConnectionTimeoutMs) |
void |
setZkHosts(String zkHosts) |
void |
setZkSessionTimeoutMs(Integer zkSessionTimeoutMs) |
public static final String CONFIG_PREFIX
public static CuratorConfig create(String hosts)
public String getZkHosts()
public void setZkHosts(String zkHosts)
public int getZkSessionTimeoutMs()
public void setZkSessionTimeoutMs(Integer zkSessionTimeoutMs)
public int getZkConnectionTimeoutMs()
public void setZkConnectionTimeoutMs(Integer zkConnectionTimeoutMs)
public boolean getEnableCompression()
public void setEnableCompression(Boolean enableCompression)
public boolean getEnableAcl()
public void setEnableAcl(Boolean enableAcl)
public String getZkUser()
public String getZkPwd()
public String getAuthScheme()
public int getMaxZkRetries()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.