public class RedisSettings extends Object implements IRedisSettings
IRedisSettings| Constructor and Description |
|---|
RedisSettings() |
| Modifier and Type | Method and Description |
|---|---|
String |
getHostname() |
int |
getPort() |
org.apache.wicket.util.time.Duration |
getRecordTtl() |
IRedisSettings |
setHostname(String hostname) |
IRedisSettings |
setPort(int port) |
IRedisSettings |
setRecordTtl(org.apache.wicket.util.time.Duration ttl)
Sets the time to live for the records in the table
|
public IRedisSettings setRecordTtl(org.apache.wicket.util.time.Duration ttl)
IRedisSettingssetRecordTtl in interface IRedisSettingsttl - The time to live for the records in the tablepublic org.apache.wicket.util.time.Duration getRecordTtl()
getRecordTtl in interface IRedisSettingspublic String getHostname()
getHostname in interface IRedisSettingspublic IRedisSettings setHostname(String hostname)
setHostname in interface IRedisSettingspublic int getPort()
getPort in interface IRedisSettingspublic IRedisSettings setPort(int port)
setPort in interface IRedisSettingsCopyright © 2015. All rights reserved.