Class MetricImpl
- java.lang.Object
-
- org.apache.unomi.metrics.internal.MetricImpl
-
-
Constructor Summary
Constructors Constructor Description MetricImpl(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longaddTotalTime(long time)Map<String,CallerCount>getCallerCounts()StringgetName()longgetTotalCount()longgetTotalTime()longincTotalCount()
-
-
-
Constructor Detail
-
MetricImpl
public MetricImpl(String name)
-
-
Method Detail
-
getTotalCount
public long getTotalCount()
- Specified by:
getTotalCountin interfaceMetric
-
incTotalCount
public long incTotalCount()
- Specified by:
incTotalCountin interfaceMetric
-
getTotalTime
public long getTotalTime()
- Specified by:
getTotalTimein interfaceMetric
-
addTotalTime
public long addTotalTime(long time)
- Specified by:
addTotalTimein interfaceMetric
-
getCallerCounts
public Map<String,CallerCount> getCallerCounts()
- Specified by:
getCallerCountsin interfaceMetric
-
-