Package org.wicketstuff.datastores.redis
Interface IRedisSettings
-
- All Known Implementing Classes:
RedisSettings
public interface IRedisSettings
Settings for RedisDataStore
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getHostname()
int
getPort()
Duration
getRecordTtl()
IRedisSettings
setHostname(String hostname)
IRedisSettings
setPort(int port)
IRedisSettings
setRecordTtl(Duration ttl)
Sets the time to live for the records in the table
-
-
-
Method Detail
-
setRecordTtl
IRedisSettings setRecordTtl(Duration ttl)
Sets the time to live for the records in the table- Parameters:
ttl
- The time to live for the records in the table- Returns:
- this instance, for chaining
-
getRecordTtl
Duration getRecordTtl()
- Returns:
- the time to live for the records in the table
-
getHostname
String getHostname()
- Returns:
- A list of contact points (hostname:port) to contact to.
-
setHostname
IRedisSettings setHostname(String hostname)
-
getPort
int getPort()
-
setPort
IRedisSettings setPort(int port)
-
-