fixed unused code
This commit is contained in:
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
-3
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user