优化 Client 添加监听器日志打印.

pull/84/head
chen.ma 3 years ago
parent 2e4abac7e1
commit cf74fa763b

@ -50,9 +50,8 @@ public class CacheData {
} }
ManagerListenerWrapper managerListenerWrap = new ManagerListenerWrapper(md5, listener); ManagerListenerWrapper managerListenerWrap = new ManagerListenerWrapper(md5, listener);
if (listeners.addIfAbsent(managerListenerWrap)) { if (listeners.addIfAbsent(managerListenerWrap)) {
log.info("Add listener status :: ok, tpId :: {}, cnt :: {}", tpId, listeners.size()); log.info("Add listener status :: ok, thread pool id :: {}, listeners count :: {}", tpId, listeners.size());
} }
} }

Loading…
Cancel
Save