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 Details

    • withRedisConfiguration

      RedisCache.Update withRedisConfiguration(Map<String,String> redisConfiguration)
      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

      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:
      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

      RedisCache.Update withoutRedisConfiguration(String key)
      Removes specified Redis Cache configuration setting.
      Parameters:
      key - Redis configuration name.
      Returns:
      the next stage of Redis Cache update.