class CounterGroup {

  public synchronized AtomicLong getCounter(String name) {
    if (!counters.containsKey(name)) {
      counters.put(name, new AtomicLong());
    }

    return counters.get(name);
  }

  public  CounterGroup();

}