Package org.apache.druid.curator
Class CuratorConfig
- java.lang.Object
-
- org.apache.druid.curator.CuratorConfig
-
public class CuratorConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONFIG_PREFIX
-
Constructor Summary
Constructors Constructor Description CuratorConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CuratorConfigcreate(String hosts)StringgetAuthScheme()booleangetEnableAcl()booleangetEnableCompression()intgetMaxZkRetries()intgetZkConnectionTimeoutMs()StringgetZkHosts()StringgetZkPwd()intgetZkSessionTimeoutMs()StringgetZkUser()voidsetEnableAcl(Boolean enableAcl)voidsetEnableCompression(Boolean enableCompression)voidsetZkConnectionTimeoutMs(Integer zkConnectionTimeoutMs)voidsetZkHosts(String zkHosts)voidsetZkSessionTimeoutMs(Integer zkSessionTimeoutMs)
-
-
-
Field Detail
-
CONFIG_PREFIX
public static final String CONFIG_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
create
public static CuratorConfig create(String hosts)
-
getZkHosts
public String getZkHosts()
-
setZkHosts
public void setZkHosts(String zkHosts)
-
getZkSessionTimeoutMs
public int getZkSessionTimeoutMs()
-
setZkSessionTimeoutMs
public void setZkSessionTimeoutMs(Integer zkSessionTimeoutMs)
-
getZkConnectionTimeoutMs
public int getZkConnectionTimeoutMs()
-
setZkConnectionTimeoutMs
public void setZkConnectionTimeoutMs(Integer zkConnectionTimeoutMs)
-
getEnableCompression
public boolean getEnableCompression()
-
setEnableCompression
public void setEnableCompression(Boolean enableCompression)
-
getEnableAcl
public boolean getEnableAcl()
-
setEnableAcl
public void setEnableAcl(Boolean enableAcl)
-
getZkUser
public String getZkUser()
-
getZkPwd
public String getZkPwd()
-
getAuthScheme
public String getAuthScheme()
-
getMaxZkRetries
public int getMaxZkRetries()
-
-