@Component @ConfigurationProperties(prefix="spring.redis") public class JedisProperties extends Object
Description:
| 构造器和说明 |
|---|
JedisProperties() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getDatabase() |
String |
getHost() |
String |
getPassword() |
Integer |
getPort() |
Integer |
getTimeout() |
void |
setDatabase(int database) |
void |
setHost(String host) |
void |
setPassword(String password) |
void |
setPort(Integer port) |
void |
setTimeout(Integer timeout) |
public String getHost()
public void setHost(String host)
public Integer getPort()
public void setPort(Integer port)
public String getPassword()
public void setPassword(String password)
public int getDatabase()
public void setDatabase(int database)
public Integer getTimeout()
public void setTimeout(Integer timeout)
Copyright © 2021. All rights reserved.