提交 c3b4d848 编写于 作者: N Nikita Koksharov

refactoring

上级 6c331736
......@@ -102,7 +102,6 @@ public class Config {
}
public Config(Config oldConf) {
setUseLinuxNativeEpoll(oldConf.isUseLinuxNativeEpoll());
setExecutor(oldConf.getExecutor());
if (oldConf.getCodec() == null) {
......@@ -447,21 +446,6 @@ public class Config {
return transportMode;
}
/**
* Use {@link #setTransportMode(TransportMode)}
*/
@Deprecated
public Config setUseLinuxNativeEpoll(boolean useLinuxNativeEpoll) {
if (useLinuxNativeEpoll) {
setTransportMode(TransportMode.EPOLL);
}
return this;
}
public boolean isUseLinuxNativeEpoll() {
return getTransportMode() == TransportMode.EPOLL;
}
/**
* Threads amount shared between all redis clients used by Redisson.
* <p>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册