public class CounterGroup extends Object
Constructor and Description |
---|
CounterGroup() |
Modifier and Type | Method and Description |
---|---|
void |
add(CounterGroup counterGroup) |
Long |
addAndGet(String name,
Long delta) |
Long |
get(String name) |
AtomicLong |
getCounter(String name) |
HashMap<String,AtomicLong> |
getCounters() |
String |
getName() |
Long |
incrementAndGet(String name) |
void |
set(String name,
Long value) |
void |
setCounters(HashMap<String,AtomicLong> counters) |
void |
setName(String name) |
String |
toString() |
public void add(CounterGroup counterGroup)
public AtomicLong getCounter(String name)
public String getName()
public void setName(String name)
public HashMap<String,AtomicLong> getCounters()
public void setCounters(HashMap<String,AtomicLong> counters)
Copyright © 2009-2016 Apache Software Foundation. All Rights Reserved.