public class ZKConfig extends Object
| Modifier | Constructor and Description |
|---|---|
|
ZKConfig() |
|
ZKConfig(File configFile)
Construct ZKConfig using configuration YAML file.
|
protected |
ZKConfig(String zkServers,
int timeout,
String matchColor,
String mismatchColor,
String jaas) |
| Modifier and Type | Method and Description |
|---|---|
String |
getJaas() |
String |
getMatchColor() |
String |
getMismatchColor() |
int |
getTimeout() |
String |
getZkServers() |
void |
setJaas(String jaas) |
void |
setMatchColor(String matchColor) |
void |
setMismatchColor(String mismatchColor) |
void |
setPropertyJaas()
Set java.security.auth.login.config environment variable
|
void |
setTimeout(int timeout) |
void |
setZkServers(String zkServers) |
public ZKConfig(File configFile) throws com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException
configFile - YAML config filecom.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOException@Generated(value="lombok") public ZKConfig()
@ConstructorProperties(value={"zkServers","timeout","matchColor","mismatchColor","jaas"}) @Generated(value="lombok") protected ZKConfig(String zkServers, int timeout, String matchColor, String mismatchColor, String jaas)
public void setPropertyJaas()
@Generated(value="lombok") public String getZkServers()
@Generated(value="lombok") public int getTimeout()
@Generated(value="lombok") public String getMatchColor()
@Generated(value="lombok") public String getMismatchColor()
@Generated(value="lombok") public String getJaas()
@Generated(value="lombok") public void setZkServers(String zkServers)
@Generated(value="lombok") public void setTimeout(int timeout)
@Generated(value="lombok") public void setMatchColor(String matchColor)
@Generated(value="lombok") public void setMismatchColor(String mismatchColor)
@Generated(value="lombok") public void setJaas(String jaas)
Copyright © 2020. All rights reserved.