RedisCache.UpdateStages.WithRedisConfiguration Interface
public static interface RedisCache.UpdateStages.WithRedisConfiguration
A Redis Cache update allowing Redis configuration to be modified.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withRedisConfiguration(String key, String value)
Specifies Redis Setting. |
abstract Update |
withRedisConfiguration(Map<String,String> redisConfiguration)
All Redis Settings. |
abstract Update |
withoutRedisConfiguration()
Cleans all the configuration settings being set on Redis Cache. |
abstract Update |
withoutRedisConfiguration(String key)
Removes specified Redis Cache configuration setting. |
Method Details
withRedisConfiguration
public abstract RedisCache.Update withRedisConfiguration(String key, String value)
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:
Returns:
withRedisConfiguration
public abstract RedisCache.Update withRedisConfiguration(Map
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:
Returns:
withoutRedisConfiguration
public abstract RedisCache.Update withoutRedisConfiguration()
Cleans all the configuration settings being set on Redis Cache.
Returns:
withoutRedisConfiguration
public abstract RedisCache.Update withoutRedisConfiguration(String key)
Removes specified Redis Cache configuration setting.
Parameters:
Returns: