RedisCache.UpdateStages.WithRedisConfiguration インターフェイス

public static interface RedisCache.UpdateStages.WithRedisConfiguration

Redis 構成の変更を許可する Redis Cache の更新。

メソッドの概要

修飾子と型 メソッドと説明
abstract Update withRedisConfiguration(String key, String value)

Redis 設定を指定します。

abstract Update withRedisConfiguration(Map<String,String> redisConfiguration)

すべての Redis 設定。

abstract Update withoutRedisConfiguration()

Redis Cache で設定されているすべての構成設定を消去します。

abstract Update withoutRedisConfiguration(String key)

指定した Redis Cache 構成設定を削除します。

メソッドの詳細

withRedisConfiguration

public abstract RedisCache.Update withRedisConfiguration(String key, String value)

Redis 設定を指定します。 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 など。

Parameters:

key - Redis 構成名。
value - Redis 構成値。

Returns:

Redis Cache 更新の次のステージ。

withRedisConfiguration

public abstract RedisCache.Update withRedisConfiguration(Map redisConfiguration)

すべての Redis 設定。 考えられるキーの数: 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 など。

Parameters:

redisConfiguration - 構成名でインデックス付けされたマップとしての Redis Cache の構成

Returns:

Redis Cache 更新の次のステージ。

withoutRedisConfiguration

public abstract RedisCache.Update withoutRedisConfiguration()

Redis Cache で設定されているすべての構成設定を消去します。

Returns:

Redis Cache 更新の次のステージ。

withoutRedisConfiguration

public abstract RedisCache.Update withoutRedisConfiguration(String key)

指定した Redis Cache 構成設定を削除します。

Parameters:

key - Redis 構成名。

Returns:

Redis Cache 更新の次のステージ。

適用対象