@ConfigurationProperties(name="spring.redis") public class RedisProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RedisProperties.Pool
Pool properties.
|
Constructor and Description |
---|
RedisProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getHost() |
String |
getPassword() |
RedisProperties.Pool |
getPool() |
int |
getPort() |
void |
setHost(String host) |
void |
setPassword(String password) |
void |
setPool(RedisProperties.Pool pool) |
void |
setPort(int port) |
public String getHost()
public void setHost(String host)
public int getPort()
public void setPort(int port)
public String getPassword()
public void setPassword(String password)
public RedisProperties.Pool getPool()
public void setPool(RedisProperties.Pool pool)
Copyright © 2014. All rights reserved.