fixed unused code

This commit is contained in:
七锋
2018-07-20 16:43:00 +08:00
parent d520260fe8
commit 7b52568575
2 changed files with 0 additions and 5 deletions
@@ -16,8 +16,6 @@ public abstract class BioSocketChannelPool {
socket.setKeepAlive(true);
socket.setReuseAddress(true);
socket.connect(address, BioSocketChannel.DEFAULT_CONNECT_TIMEOUT);
System.out.println(socket.getReceiveBufferSize());
System.out.println(socket.getSendBufferSize());
return new BioSocketChannel(socket);
}
@@ -64,9 +64,6 @@ public class DirectLogFetcher extends LogFetcher {
if ("1".equals(dbsemi)) {
issemi = true;
}
// 和mysql driver一样,提供buffer机制,提升读取binlog速度
// this.input = new
// BufferedInputStream(channel.socket().getInputStream(), 16384);
}
/**