@ConfigurationProperties(prefix="spring.redis") public class RedisProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RedisProperties.Pool
Pool properties.
|
static class |
RedisProperties.Sentinel
Redis sentinel properties.
|
Constructor and Description |
---|
RedisProperties() |
Modifier and Type | Method and Description |
---|---|
int |
getDatabase() |
String |
getHost() |
String |
getPassword() |
RedisProperties.Pool |
getPool() |
int |
getPort() |
RedisProperties.Sentinel |
getSentinel() |
int |
getTimeout() |
void |
setDatabase(int database) |
void |
setHost(String host) |
void |
setPassword(String password) |
void |
setPool(RedisProperties.Pool pool) |
void |
setPort(int port) |
void |
setSentinel(RedisProperties.Sentinel sentinel) |
void |
setTimeout(int timeout) |
public int getDatabase()
public void setDatabase(int database)
public String getHost()
public void setHost(String host)
public String getPassword()
public void setPassword(String password)
public int getPort()
public void setPort(int port)
public void setTimeout(int timeout)
public int getTimeout()
public RedisProperties.Sentinel getSentinel()
public void setSentinel(RedisProperties.Sentinel sentinel)
public RedisProperties.Pool getPool()
public void setPool(RedisProperties.Pool pool)
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.