正在显示
1 个修改的文件
包含
4 行增加
和
0 行删除
| 1 | package com.crossoverjie.cim.server.handle; | 1 | package com.crossoverjie.cim.server.handle; |
| 2 | 2 | ||
| 3 | +import com.alibaba.fastjson.JSON; | ||
| 3 | import com.alibaba.fastjson.JSONObject; | 4 | import com.alibaba.fastjson.JSONObject; |
| 4 | import com.crossoverjie.cim.common.constant.Constants; | 5 | import com.crossoverjie.cim.common.constant.Constants; |
| 5 | import com.crossoverjie.cim.common.exception.CIMException; | 6 | import com.crossoverjie.cim.common.exception.CIMException; |
| @@ -63,6 +64,9 @@ public class CIMServerHandle extends SimpleChannelInboundHandler<CIMRequestProto | @@ -63,6 +64,9 @@ public class CIMServerHandle extends SimpleChannelInboundHandler<CIMRequestProto | ||
| 63 | 64 | ||
| 64 | LOGGER.info("定时检测服务端是否存活"); | 65 | LOGGER.info("定时检测服务端是否存活"); |
| 65 | 66 | ||
| 67 | + Thread thread = Thread.currentThread(); | ||
| 68 | + LOGGER.info("当前线程信息={}===={}",thread.getClass(), JSON.toJSONString(thread)); | ||
| 69 | + | ||
| 66 | HeartBeatHandler heartBeatHandler = SpringBeanFactory.getBean(ServerHeartBeatHandlerImpl.class) ; | 70 | HeartBeatHandler heartBeatHandler = SpringBeanFactory.getBean(ServerHeartBeatHandlerImpl.class) ; |
| 67 | heartBeatHandler.process(ctx) ; | 71 | heartBeatHandler.process(ctx) ; |
| 68 | } | 72 | } |
-
请 注册 或 登录 后发表评论