org.wicketstuff.datastores.redis.IRedisSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wicketstuff-datastore-redis Show documentation
Show all versions of wicketstuff-datastore-redis Show documentation
An implementation of Apache Wicket's IDataStore that uses Redis as a backend
The newest version!
package org.wicketstuff.datastores.redis;
import java.time.Duration;
/**
* Settings for RedisDataStore
*/
public interface IRedisSettings
{
/**
* Sets the time to live for the records in the table
*
* @param ttl The time to live for the records in the table
* @return this instance, for chaining
*/
IRedisSettings setRecordTtl(Duration ttl);
/**
* @return the time to live for the records in the table
*/
Duration getRecordTtl();
/**
* @return A list of contact points (hostname:port) to contact to.
*/
String getHostname();
IRedisSettings setHostname(String hostname);
int getPort();
IRedisSettings setPort(int port);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy