|
@@ -41,9 +41,15 @@ public class HBaseUtil {
|
|
|
wrapperObject.put("Datatable", tb);
|
|
|
wrapperObject.put("Criteria", Criteria);
|
|
|
LogUtil.info("Clear Project Point List:" + project + " Begin...");
|
|
|
- Constant.ps_PhysicalList = new HashMap<String, List<String>>();
|
|
|
- Constant.ps_ProjectList = new HashMap<String, List<String>>();
|
|
|
- Constant.ps_MeterList = new HashMap<String, List<String>>();
|
|
|
+ synchronized (Constant.ps_PhysicalList) {
|
|
|
+ Constant.ps_PhysicalList = new HashMap<String, List<String>>();
|
|
|
+ }
|
|
|
+ synchronized (Constant.ps_ProjectList) {
|
|
|
+ Constant.ps_ProjectList = new HashMap<String, List<String>>();
|
|
|
+ }
|
|
|
+ synchronized (Constant.ps_MeterList) {
|
|
|
+ Constant.ps_MeterList = new HashMap<String, List<String>>();
|
|
|
+ }
|
|
|
LogUtil.info("Clear Project Point List:" + project + " End...");
|
|
|
LogUtil.info("Reload Project Point List:" + project + " dy_pointlist Begin...");
|
|
|
JSONObject queryResult = agent.Query(wrapperObject);
|