From 7f5d914898c9d05942705ce7d80c0d14a8174df8 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期二, 19 十二月 2023 15:57:14 +0800
Subject: [PATCH] 1、common模块优化代码; 2、通信中间件优化代码,队列遍历由递归调用改为while循环,原因是队列数据量大时递归调易产生栈溢出,HashTable多线程应用时仍有线程安全问题,改为HashMap+同步锁; 3、RTU模拟器和模拟器控制服务增加report命令
---
pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/support/SupportUnitConfigVo.java | 20 +++++---------------
1 files changed, 5 insertions(+), 15 deletions(-)
diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/support/SupportUnitConfigVo.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/support/SupportUnitConfigVo.java
index 7c312a2..fd6cd57 100644
--- a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/support/SupportUnitConfigVo.java
+++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/support/SupportUnitConfigVo.java
@@ -1,8 +1,10 @@
package com.dy.common.mw.support;
public class SupportUnitConfigVo {
-
- public boolean enableThreadPool ;
+
+ public boolean enableShortThreadPool ;
+
+ public boolean enableLongThreadPool ;
//鐭换鍔$嚎绋嬫睜
public int short_maxThread ;
@@ -15,19 +17,7 @@
public int long_minThread ;
public long long_freeTimeout;
public long long_busyTimeout ;
-
- //鍗曚釜Ssdb鎺ヨ繛姹犻厤缃枃浠�
- public String singleSsdbPoolXmlFile ;
- //澶氫釜Ssdb鎺ヨ繛姹犻厤缃枃浠�
- public String multiSsdbPoolXmlFile ;
-
- //Redis闆嗙兢閰嶇疆鏂囦欢
- public String redisClusterXmlFile ;
- //鍗曚釜Redis鎺ヨ繛姹犻厤缃枃浠�
- public String singleRedisPoolXmlFile ;
- //澶氫釜Redis鎺ヨ繛姹犻厤缃枃浠�
- public String multiRedisPoolXmlFile ;
-
+
public Boolean showStartInfo; //鏄惁鍦ㄦ帶鍒跺彴涓婃樉绀轰俊鎭�
--
Gitblit v1.8.0