@@ -99,7 +99,7 @@ public UnifiedJedis(HostAndPort hostAndPort, JedisClientConfig clientConfig) {
99
99
}
100
100
101
101
@ Experimental
102
- protected UnifiedJedis (HostAndPort hostAndPort , JedisClientConfig clientConfig , CacheConfig cacheConfig ) {
102
+ public UnifiedJedis (HostAndPort hostAndPort , JedisClientConfig clientConfig , CacheConfig cacheConfig ) {
103
103
this (hostAndPort , clientConfig , new CacheFactory ().getCache (cacheConfig ));
104
104
}
105
105
@@ -117,7 +117,7 @@ protected UnifiedJedis(ConnectionProvider provider, RedisProtocol protocol) {
117
117
}
118
118
119
119
@ Experimental
120
- public UnifiedJedis (ConnectionProvider provider , RedisProtocol protocol , Cache cache ) {
120
+ protected UnifiedJedis (ConnectionProvider provider , RedisProtocol protocol , Cache cache ) {
121
121
this (new DefaultCommandExecutor (provider ), provider , new CommandObjects (), protocol , cache );
122
122
}
123
123
@@ -196,7 +196,7 @@ protected UnifiedJedis(ClusterConnectionProvider provider, int maxAttempts, Dura
196
196
}
197
197
198
198
@ Experimental
199
- public UnifiedJedis (ClusterConnectionProvider provider , int maxAttempts , Duration maxTotalRetriesDuration ,
199
+ protected UnifiedJedis (ClusterConnectionProvider provider , int maxAttempts , Duration maxTotalRetriesDuration ,
200
200
RedisProtocol protocol , Cache cache ) {
201
201
this (new ClusterCommandExecutor (provider , maxAttempts , maxTotalRetriesDuration ), provider ,
202
202
new ClusterCommandObjects (), protocol , cache );
0 commit comments