Interface RedisConfig
-
@Immutable @Modifiable public interface RedisConfigConfiguration properties for a redis connection.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetUrl()The redis connection url, including password and namespace, e.g.booleanisCluster()Whether the redis server is using redis cluster.booleanisNoop()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.
-
-