示例#1
0
文件: Tools.java 项目: jaanek/jrds
 public static final Map<String, Timer> getSimpleTimerMap() {
   PropertiesManager.TimerInfo ti = new PropertiesManager.TimerInfo();
   ti.numCollectors = 1;
   ti.step = 300;
   ti.timeout = 10;
   Timer t = new Timer(Timer.DEFAULTNAME, ti);
   return Collections.singletonMap(t.getName(), t);
 }