public class RedisConfig extends BaseEntity
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
CLUSTER |
static String |
EXPIRE_TIME |
static String |
EXTEND |
static String |
EXTEND_PROPERTIES |
static String |
EXTEND_RESOURCE |
static String |
HOST_NAMES |
static String |
MAX_IDLE |
static String |
MAX_REDIRECTIONS |
static String |
MAX_TOTAL |
static String |
MIN_IDLE |
static String |
REDIS |
static String |
REDIS_TYPE |
static String |
ROOT |
static String |
TEST_ON_BORROW |
static String |
TIME_OUT |
| 限定符和类型 | 方法和说明 |
|---|---|
Boolean |
getCluster() |
Integer |
getExpireTime() |
String |
getExtend() |
Properties |
getExtendProperties() |
String |
getExtendResource() |
String |
getHostNames() |
Integer |
getMaxIdle() |
Integer |
getMaxRedirections() |
Integer |
getMaxTotal() |
Integer |
getMinIdle() |
String |
getRedisType() |
Boolean |
getTestOnBorrow() |
Integer |
getTimeOut() |
static RedisConfig |
newInstance() |
void |
setCluster(Boolean cluster) |
void |
setExpireTime(Integer expireTime) |
void |
setExtend(String extend) |
void |
setExtendProperties(Properties extendProperties) |
void |
setExtendResource(String extendResource) |
void |
setHostNames(String hostNames) |
void |
setMaxIdle(Integer maxIdle) |
void |
setMaxRedirections(Integer maxRedirections) |
void |
setMaxTotal(Integer maxTotal) |
void |
setMinIdle(Integer minIdle) |
void |
setRedisType(String redisType) |
void |
setTestOnBorrow(Boolean testOnBorrow) |
void |
setTimeOut(Integer timeOut) |
attributeNames, attributeValue, attributeValue, beanToMap, clone, fields, mapToBean, mapToBeans, methods, setAttributeValue, setAttributeValue, toStringpublic static final RedisConfig newInstance()
public String getRedisType()
public void setRedisType(String redisType)
public String getHostNames()
public void setHostNames(String hostNames)
public Integer getMaxTotal()
public void setMaxTotal(Integer maxTotal)
public Integer getMaxIdle()
public void setMaxIdle(Integer maxIdle)
public Integer getMinIdle()
public void setMinIdle(Integer minIdle)
public Integer getTimeOut()
public void setTimeOut(Integer timeOut)
public Boolean getTestOnBorrow()
public void setTestOnBorrow(Boolean testOnBorrow)
public Integer getExpireTime()
public void setExpireTime(Integer expireTime)
public String getExtend()
public void setExtend(String extend)
public String getExtendResource()
public void setExtendResource(String extendResource)
public Properties getExtendProperties()
public void setExtendProperties(Properties extendProperties)
public Boolean getCluster()
public void setCluster(Boolean cluster)
public Integer getMaxRedirections()
public void setMaxRedirections(Integer maxRedirections)
Copyright © 2015–2017. All rights reserved.