(String name)
| 28 | private static final ConcurrentHashMap<String, LongAdder> CounterSuccess = new ConcurrentHashMap<>(); |
| 29 | |
| 30 | static LongConcurrentHashMap<LongAdder> getKeyCounters(String name) { |
| 31 | return CounterKey.computeIfAbsent(name, __ -> new LongConcurrentHashMap<>()); |
| 32 | } |
| 33 | |
| 34 | static LongAdder getKeyCounter(String name, long key) { |
| 35 | return getKeyCounters(name).computeIfAbsent(key, __ -> new LongAdder()); |
no test coverage detected