File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed
src/main/java/redis/clients/jedis Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1818import redis .clients .jedis .providers .ConnectionProvider ;
1919import redis .clients .jedis .util .JedisClusterCRC16 ;
2020
21+ /**
22+ * JedisCluster is a client for Redis Cluster deployments.
23+ *
24+ * @deprecated Use {@link RedisClusterClient} instead. RedisClusterClient provides the same functionality
25+ * with a cleaner API and simplified constructor options. For basic usage, simple
26+ * constructors are available. For advanced configuration, use {@link RedisClusterClient#builder()}.
27+ */
28+ @ Deprecated
2129public class JedisCluster extends UnifiedJedis {
2230
2331 public static final String INIT_NO_ERROR_PROPERTY = "jedis.cluster.initNoError" ;
Original file line number Diff line number Diff line change 1818import redis .clients .jedis .util .JedisURIHelper ;
1919import redis .clients .jedis .util .Pool ;
2020
21+ /**
22+ * JedisPooled is a pooled connection client for standalone Redis servers.
23+ *
24+ * @deprecated Use {@link RedisClient} instead. RedisClient provides the same functionality
25+ * with a cleaner API and simplified constructor options. For basic usage, simple
26+ * constructors are available. For advanced configuration, use {@link RedisClient#builder()}.
27+ */
28+ @ Deprecated
2129public class JedisPooled extends UnifiedJedis {
2230
2331 public JedisPooled () {
Original file line number Diff line number Diff line change 1111import redis .clients .jedis .providers .ConnectionProvider ;
1212import redis .clients .jedis .providers .SentineledConnectionProvider ;
1313
14+ /**
15+ * JedisSentineled is a client for Redis Sentinel deployments.
16+ *
17+ * @deprecated Use {@link RedisSentinelClient} instead. RedisSentinelClient provides the same functionality
18+ * with a cleaner API. Use {@link RedisSentinelClient#builder()} to configure the client
19+ * with sentinel settings, master configuration, and connection pooling options.
20+ */
21+ @ Deprecated
1422public class JedisSentineled extends UnifiedJedis {
1523
1624 public JedisSentineled (String masterName , final JedisClientConfig masterClientConfig ,
You can’t perform that action at this time.
0 commit comments