decodeInExecutor is deprecated #2646

pull/2691/head
Nikita Koksharov 5 years ago
parent 81236e2a0b
commit 64a3c2929e

@ -278,6 +278,7 @@ public class RedisClientConfig {
public boolean isDecodeInExecutor() { public boolean isDecodeInExecutor() {
return decodeInExecutor; return decodeInExecutor;
} }
@Deprecated
public RedisClientConfig setDecodeInExecutor(boolean decodeInExecutor) { public RedisClientConfig setDecodeInExecutor(boolean decodeInExecutor) {
this.decodeInExecutor = decodeInExecutor; this.decodeInExecutor = decodeInExecutor;
return this; return this;

@ -718,6 +718,7 @@ public class Config {
* @param decodeInExecutor - <code>true</code> to use executor's threads, <code>false</code> to use netty's threads. * @param decodeInExecutor - <code>true</code> to use executor's threads, <code>false</code> to use netty's threads.
* @return config * @return config
*/ */
@Deprecated
public Config setDecodeInExecutor(boolean decodeInExecutor) { public Config setDecodeInExecutor(boolean decodeInExecutor) {
this.decodeInExecutor = decodeInExecutor; this.decodeInExecutor = decodeInExecutor;
return this; return this;

Loading…
Cancel
Save