public class RedisDataSourceProperties extends AbstractDataSourceProperties
DataSourcePropertiesConfiguration and
RedisDataSourceFactoryBean.| Constructor and Description |
|---|
RedisDataSourceProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
getChannel() |
int |
getDatabase() |
String |
getHost() |
String |
getMasterId() |
List<String> |
getNodes() |
String |
getPassword() |
int |
getPort() |
String |
getRuleKey() |
Duration |
getTimeout() |
void |
preCheck(String dataSourceName) |
void |
setChannel(String channel) |
void |
setDatabase(int database) |
void |
setHost(String host) |
void |
setMasterId(String masterId) |
void |
setNodes(List<String> nodes) |
void |
setPassword(String password) |
void |
setPort(int port) |
void |
setRuleKey(String ruleKey) |
void |
setTimeout(Duration timeout) |
getConverterClass, getDataType, getEnv, getFactoryBeanName, getRuleType, postRegister, setConverterClass, setDataType, setEnv, setRuleTypepublic void preCheck(String dataSourceName)
preCheck in class AbstractDataSourcePropertiespublic String getHost()
public void setHost(String host)
public int getPort()
public void setPort(int port)
public String getRuleKey()
public void setRuleKey(String ruleKey)
public String getChannel()
public void setChannel(String channel)
public String getPassword()
public void setPassword(String password)
public int getDatabase()
public void setDatabase(int database)
public Duration getTimeout()
public void setTimeout(Duration timeout)
public String getMasterId()
public void setMasterId(String masterId)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.