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)
IRedisSettings
setRecordTtl
in interface IRedisSettings
ttl
- The time to live for the records in the tablepublic org.apache.wicket.util.time.Duration getRecordTtl()
getRecordTtl
in interface IRedisSettings
public String getHostname()
getHostname
in interface IRedisSettings
public IRedisSettings setHostname(String hostname)
setHostname
in interface IRedisSettings
public int getPort()
getPort
in interface IRedisSettings
public IRedisSettings setPort(int port)
setPort
in interface IRedisSettings
Copyright © 2015. All rights reserved.