Example #1
0
 static OrderedStringMap getInfo() {
   OrderedStringMap map = new OrderedStringMap();
   map.put("Date", SysInfoUtils.getCurrentDateStr());
   map.put("Host", SysInfoUtils.getHostName());
   map.put("CPU speed", SysInfoUtils.getCPUSpeedStr());
   map.put("Max memory", SysInfoUtils.getMaxMemoryStr());
   map.put("Num CPUs", SysInfoUtils.getNumCPUs());
   return map;
 }
Example #2
0
 public static synchronized void putOutput(String s, Object t) {
   outputMap.put(s, StrUtils.toString(t));
 }