Skip to content

Commit 549110f

Browse files
committed
邮箱监控功能
1 parent 92fac21 commit 549110f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

boot-netty-rpc-core/src/main/java/io/github/forezp/netty/rpc/core/protocol/client/NettyClientHandler.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,6 @@ public NettyClientHandler(ExcutorContainer excutorContainer) {
3737
@Override
3838
protected void channelRead0(ChannelHandlerContext ctx, final NettyRpcResponse response) throws Exception {
3939

40-
ThreadPoolExecutor executor = ThreadPoolFactory.createClientPoolExecutor( response.getInterfaze() );
41-
42-
int coreSize = executor.getCorePoolSize();
43-
int activeCount = executor.getActiveCount();
44-
int queueSize = executor.getQueue().size();
45-
System.out.println( "executor" + executor.toString() + " coreSize:" + coreSize + " activeCount:" + activeCount + " queueSize :" + queueSize );
46-
4740
ThreadPoolFactory.createClientPoolExecutor( response.getInterfaze() ).submit( new Callable<NettyRpcResponse>() {
4841

4942
@Override

0 commit comments

Comments
 (0)