152153154155156157158159160161162
@Override public Counter getCounter(String name) { if(local){ Counter c = localCounters.get(name); if (c == null) { localCounters.putIfAbsent(name, new LocalCounterImpl()); return localCounters.get(name); } else { return c; }