public class RedisConfig extends DefaultConfiguration
构造器和说明 |
---|
RedisConfig() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
java.lang.String |
getHost() |
static RedisConfig |
getInstance() |
int |
getMaxConnection() |
java.lang.String |
getPassword() |
int |
getPort() |
void |
setHost(java.lang.String ip) |
void |
setMaxConnection(int maxConnection) |
void |
setPassword(java.lang.String password) |
void |
setPort(int port) |
getNameSpace
initialize, mirror
public static RedisConfig getInstance()
public java.lang.String getHost()
public int getPort()
public void setHost(java.lang.String ip)
public void setPort(int port)
public void setPassword(java.lang.String password)
public java.lang.String getPassword()
public void setMaxConnection(int maxConnection)
public int getMaxConnection()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 Configuration
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常