Package com.yahoo.container.jdisc.state
Class CountMetric
java.lang.Object
com.yahoo.container.jdisc.state.MetricValue
com.yahoo.container.jdisc.state.CountMetric
A metric which is counting an accumulative value
- Author:
- Simon Thoresen Hult
-
Method Summary
Modifier and TypeMethodDescriptionlong
getCount()
Returns the accumulated count of this metric in the time intervalstatic CountMetric
newInstance
(long val) static CountMetric
newSingleValue
(Number val)
-
Method Details
-
getCount
public long getCount()Returns the accumulated count of this metric in the time interval -
newSingleValue
-
newInstance
-