Interface IRedisSettings

All Known Implementing Classes:
RedisSettings

public interface IRedisSettings
Settings for RedisDataStore
  • Method Details

    • 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)