Class JedisClusterConnection

All Implemented Interfaces:
AutoCloseable, DefaultedRedisClusterConnection, DefaultedRedisConnection, RedisClusterCommands, RedisClusterCommandsProvider, RedisClusterConnection, RedisClusterServerCommands, RedisCommands, RedisCommandsProvider, RedisConnection, RedisConnectionCommands, RedisGeoCommands, RedisHashCommands, RedisHyperLogLogCommands, RedisKeyCommands, RedisListCommands, RedisPubSubCommands, RedisScriptingCommands, RedisServerCommands, RedisSetCommands, RedisStreamCommands, RedisStringCommands, RedisTxCommands, RedisZSetCommands

@NullUnmarked public class JedisClusterConnection extends JedisConnection implements RedisClusterConnection
RedisClusterConnection implementation on top of RedisClusterClient.

Uses the native RedisClusterClient api where possible and falls back to direct node communication using Jedis where needed.

Pipelines and transactions are not supported in cluster mode. This class is not Thread-safe and instances should not be shared across threads.

Since:
1.7
Author:
Christoph Strobl, Mark Paluch, Ninad Divadkar, Tao Chen, Chen Guanqun, Pavel Khokhlov, Liming Deng, John Blum, Tihomir Mateev