Interface RedisConfig


  • @Immutable
    @Modifiable
    public interface RedisConfig
    Configuration properties for a redis connection.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getUrl()
      The redis connection url, including password and namespace, e.g.
      boolean isCluster()
      Whether the redis server is using redis cluster.
      boolean isNoop()
      Whether a noop cache should be used instead of redis.
    • Method Detail

      • getUrl

        java.lang.String getUrl()
        The redis connection url, including password and namespace, e.g. 'redis://password@localhost:6379/0'.
      • isCluster

        boolean isCluster()
        Whether the redis server is using redis cluster.
      • isNoop

        boolean isNoop()
        Whether a noop cache should be used instead of redis. Should only be enabled for local development.