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 long
addTotalTime(long time)
Map<String,CallerCount>
getCallerCounts()
String
getName()
long
getTotalCount()
long
getTotalTime()
long
incTotalCount()
-
-
-
Constructor Detail
-
MetricImpl
public MetricImpl(String name)
-
-
Method Detail
-
getTotalCount
public long getTotalCount()
- Specified by:
getTotalCount
in interfaceMetric
-
incTotalCount
public long incTotalCount()
- Specified by:
incTotalCount
in interfaceMetric
-
getTotalTime
public long getTotalTime()
- Specified by:
getTotalTime
in interfaceMetric
-
addTotalTime
public long addTotalTime(long time)
- Specified by:
addTotalTime
in interfaceMetric
-
getCallerCounts
public Map<String,CallerCount> getCallerCounts()
- Specified by:
getCallerCounts
in interfaceMetric
-
-