DATAREDIS-1066 - Add explanation for Jedis usePooling flag.

Original pull request: #494.
This commit is contained in:
chao chang
2019-11-11 16:20:17 +09:00
committed by Mark Paluch
parent b5addd1eba
commit b91d9ddf15

View File

@@ -79,6 +79,9 @@ public interface JedisClientConfiguration {
/**
* @return {@literal true} to use connection-pooling.
* <p>
* valid only for single node Redis, and Jedis Sentinel and Cluster will always use connection-pooling regardless of the setting here.
* </p>
*/
boolean isUsePooling();
@@ -149,7 +152,9 @@ public interface JedisClientConfiguration {
/**
* Enable connection-pooling.
*
* <p>
* Apply only to single node Redis, and Jedis Sentinel and Cluster will always use connection-pooling.
* </p>
* @return {@link JedisPoolingClientConfigurationBuilder}.
*/
JedisPoolingClientConfigurationBuilder usePooling();