|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.apollo.util.metric.Metric
org.apache.activemq.apollo.util.metric.MetricCounter
public class MetricCounter
Constructor Summary | |
---|---|
MetricCounter()
|
Method Summary | |
---|---|
long |
counter()
|
long |
increment()
|
long |
increment(long delta)
|
MetricCounter |
name(java.lang.String name)
|
long |
reset()
|
Methods inherited from class org.apache.activemq.apollo.util.metric.Metric |
---|
getName, getRateSummary, getUnit, setName, setUnit, unit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetricCounter()
Method Detail |
---|
public MetricCounter name(java.lang.String name)
name
in class Metric
public final long increment(long delta)
public final long increment()
public final long counter()
counter
in class Metric
public long reset()
reset
in class Metric
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |