Esempio n. 1
0
 public List getCpuPerListInfo() {
   List cpuperList = null;
   OthersTempDao othersTempDao = new OthersTempDao();
   try {
     cpuperList = othersTempDao.getCpuPerListInfo(nodeid, type, subtype);
   } catch (RuntimeException e) {
     e.printStackTrace();
   } finally {
     othersTempDao.close();
   }
   return cpuperList;
 }
Esempio n. 2
0
 public List<CpuPerfInfo> getCurrCpuPerfInfo(String[] subentities) {
   OthersTempDao othersTempDao = new OthersTempDao();
   List<CpuPerfInfo> cpuPerfInfoList = null;
   try {
     cpuPerfInfoList = othersTempDao.getCpuPerfInfoList(nodeid, type, subtype, subentities);
   } catch (Exception e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
   } finally {
     othersTempDao.close();
   }
   return cpuPerfInfoList;
 }