Class RedisConfigurationProperties
- java.lang.Object
-
- org.hawaiiframework.cache.redis.config.RedisConfigurationProperties
-
@Configuration @ConfigurationProperties(prefix="redis") public class RedisConfigurationProperties extends Object
Redis configuration properties.
-
-
Constructor Summary
Constructors Constructor Description RedisConfigurationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClusterMaster()
Long
getDefaultTimeOutInMinutes()
RedisPoolConfigurationProperties
getPoolConfiguration()
List<String>
getSentinelHostsAndPorts()
void
setClusterMaster(String clusterMaster)
void
setDefaultTimeOutInMinutes(Long defaultTimeOutInMinutes)
void
setPoolConfiguration(RedisPoolConfigurationProperties poolConfiguration)
void
setSentinelHostsAndPorts(List<String> sentinelHostsAndPorts)
-
-
-
Method Detail
-
getDefaultTimeOutInMinutes
public Long getDefaultTimeOutInMinutes()
-
setDefaultTimeOutInMinutes
public void setDefaultTimeOutInMinutes(Long defaultTimeOutInMinutes)
-
getClusterMaster
public String getClusterMaster()
-
setClusterMaster
public void setClusterMaster(String clusterMaster)
-
getPoolConfiguration
public RedisPoolConfigurationProperties getPoolConfiguration()
-
setPoolConfiguration
public void setPoolConfiguration(RedisPoolConfigurationProperties poolConfiguration)
-
-