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