|
33 | 33 | /**
|
34 | 34 | * Redis client configuration for jedis. This configuration provides optional configuration elements such as
|
35 | 35 | * {@link SSLSocketFactory} and {@link JedisPoolConfig} specific to jedis client features.
|
36 |
| - * <p> |
| 36 | + * <p/> |
37 | 37 | * Providing optional elements allows a more specific configuration of the client:
|
38 | 38 | * <ul>
|
39 | 39 | * <li>Whether to use SSL</li>
|
|
46 | 46 | * <li>Connect {@link Duration timeout}</li>
|
47 | 47 | * <li>Read {@link Duration timeout}</li>
|
48 | 48 | * </ul>
|
| 49 | + * <p /> |
49 | 50 | *
|
50 | 51 | * @author Mark Paluch
|
51 | 52 | * @author Christoph Strobl
|
| 53 | + * @author Chao Chang |
52 | 54 | * @since 2.0
|
53 | 55 | * @see redis.clients.jedis.Jedis
|
54 | 56 | * @see org.springframework.data.redis.connection.RedisStandaloneConfiguration
|
@@ -78,10 +80,8 @@ public interface JedisClientConfiguration {
|
78 | 80 | Optional<HostnameVerifier> getHostnameVerifier();
|
79 | 81 |
|
80 | 82 | /**
|
81 |
| - * @return {@literal true} to use connection-pooling. |
82 |
| - * <p> |
83 |
| - * valid only for single node Redis, and Jedis Sentinel and Cluster will always use connection-pooling regardless of the setting here. |
84 |
| - * </p> |
| 83 | + * @return {@literal true} to use connection-pooling. Applies only to single node Redis. Sentinel and Cluster modes |
| 84 | + * use always connection-pooling regardless of the pooling setting. |
85 | 85 | */
|
86 | 86 | boolean isUsePooling();
|
87 | 87 |
|
@@ -152,9 +152,10 @@ interface JedisClientConfigurationBuilder {
|
152 | 152 |
|
153 | 153 | /**
|
154 | 154 | * Enable connection-pooling.
|
155 |
| - * <p> |
156 |
| - * Apply only to single node Redis, and Jedis Sentinel and Cluster will always use connection-pooling. |
157 |
| - * </p> |
| 155 | + * <p /> |
| 156 | + * Applies only to single node Redis. Sentinel and Cluster modes use always connection-pooling regardless of the |
| 157 | + * pooling setting. |
| 158 | + * |
158 | 159 | * @return {@link JedisPoolingClientConfigurationBuilder}.
|
159 | 160 | */
|
160 | 161 | JedisPoolingClientConfigurationBuilder usePooling();
|
|
0 commit comments