Package org.wicketstuff.datastores.redis
Interface IRedisSettings
- All Known Implementing Classes:
RedisSettings
public interface IRedisSettings
Settings for RedisDataStore
-
Method Summary
Modifier and TypeMethodDescriptionint
getPort()
setHostname
(String hostname) setPort
(int port) setRecordTtl
(Duration ttl) Sets the time to live for the records in the table
-
Method Details
-
setRecordTtl
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
-
getPort
int getPort() -
setPort
-