...
|
...
|
@@ -85,11 +85,12 @@ public class MemcachedMonitService { |
|
|
for (TypeInfo typeInfo : childTypeList) {
|
|
|
|
|
|
List<MObjectInfo> memcacheList = redisMonitService.queryMoByType(typeInfo);
|
|
|
String logicName = typeInfo.getTypeName();
|
|
|
|
|
|
//类型下没有监控对象
|
|
|
if(!memcacheList.isEmpty())
|
|
|
{
|
|
|
String logicName = typeInfo.getTypeName();
|
|
|
|
|
|
List<MObjectInfo> sMemcacheList = serversMap.get(logicName);
|
|
|
|
|
|
//该类型下没有查询过,则新插入
|
...
|
...
|
@@ -104,10 +105,10 @@ public class MemcachedMonitService { |
|
|
sMemcacheList.addAll(memcacheList);
|
|
|
|
|
|
}
|
|
|
}else{
|
|
|
}/*else{
|
|
|
/// 类型下没有监控对象 就把该类型去掉
|
|
|
MemConstants.MEMCACHED_RELATE_MAP.remove(logicName);
|
|
|
}
|
|
|
}*/
|
|
|
}
|
|
|
|
|
|
return serversMap;
|
...
|
...
|
|