インターフェースの使用
org.springframework.data.redis.connection.RedisClusterCommands
RedisClusterCommands を使用するパッケージ
パッケージ
説明
さまざまな Redis ' ドライバー '/libraries と対話するための低レベルの抽象化を提供する接続パッケージ。
Jedis ライブラリの接続パッケージ。
Lettuce の接続パッケージ Redis クライアント。
org.springframework.data.redis.connection 内の RedisClusterCommands 使用
修飾子と型インターフェース説明interface
使用すべきではありません。interface
RedisClusterConnection
を使用すると、クラスター内の専用ノードにコマンドを送信できます。org.springframework.data.redis.connection.jedis 内の RedisClusterCommands 使用
修飾子と型クラス説明class
JedisCluster
の上にRedisClusterConnection
実装。
可能な場合はネイティブJedisCluster
API を使用し、必要に応じてJedis
を使用して直接ノード通信にフォールバックします。org.springframework.data.redis.connection.lettuce 内の RedisClusterCommands 使用