Constructor and Description |
---|
Counter(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
long |
dec() |
long |
dec(long n) |
long |
getCount() |
java.lang.String |
getName() |
long |
inc() |
long |
inc(long n) |
void |
set(long n) |
java.lang.String |
toString() |
void |
visit(MetricsVisitor visitor) |
public long inc()
public long inc(long n)
public long dec()
public long dec(long n)
public void set(long n)
public void clear()
public long getCount()
public java.lang.String getName()
public void visit(MetricsVisitor visitor)
public java.lang.String toString()
toString
in class java.lang.Object