Interface RedisCache.UpdateStages.WithRedisConfiguration
- All Known Subinterfaces:
RedisCache.Update
- Enclosing interface:
- RedisCache.UpdateStages
public static interface RedisCache.UpdateStages.WithRedisConfiguration
A Redis Cache update allowing Redis configuration to be modified.
-
Method Summary
Modifier and TypeMethodDescriptionCleans all the configuration settings being set on Redis Cache.Removes specified Redis Cache configuration setting.withRedisConfiguration
(String key, String value) Specifies Redis Setting.withRedisConfiguration
(Map<String, String> redisConfiguration) All Redis Settings.
-
Method Details
-
withRedisConfiguration
All Redis Settings. Few possible keys: rdb-backup-enabled, rdb-storage-connection-string, rdb-backup-frequency, maxmemory-delta, maxmemory-policy, notify-keyspace-events, maxmemory-samples, slowlog-log-slower-than, slowlog-max-len, list-max-ziplist-entries, list-max-ziplist-value, hash-max-ziplist-entries, hash-max-ziplist-value, set -max-intset-entries, zset-max-ziplist-entries, zset-max-ziplist-value etc.- Parameters:
redisConfiguration
- configuration of Redis Cache as a map indexed by configuration name- Returns:
- the next stage of Redis Cache update.
-
withRedisConfiguration
Specifies Redis Setting. rdb-backup-enabled, rdb-storage-connection-string, rdb-backup-frequency, maxmemory-delta, maxmemory-policy, notify-keyspace-events, maxmemory-samples, slowlog-log-slower-than, slowlog-max-len, list-max-ziplist-entries, list-max-ziplist-value, hash-max-ziplist-entries, hash-max-ziplist-value, set -max-intset-entries, zset-max-ziplist-entries, zset-max-ziplist-value etc.- Parameters:
key
- Redis configuration name.value
- Redis configuration value.- Returns:
- the next stage of Redis Cache update.
-
withoutRedisConfiguration
RedisCache.Update withoutRedisConfiguration()Cleans all the configuration settings being set on Redis Cache.- Returns:
- the next stage of Redis Cache update.
-
withoutRedisConfiguration
Removes specified Redis Cache configuration setting.- Parameters:
key
- Redis configuration name.- Returns:
- the next stage of Redis Cache update.
-